Skip to content

Commit

Permalink
Fixed swing mode
Browse files Browse the repository at this point in the history
    * custom_components/daikin_onecta/climate.py:
  • Loading branch information
jwillemsen committed Nov 28, 2024
1 parent 26151a3 commit acb1f6c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions custom_components/daikin_onecta/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ async def async_set_fan_mode(self, fan_mode):

return res

def __get_swing_modes(self, direction):
def __get_swing_mode(self, direction):
swingMode = ""
cc = self.climate_control()
fanControl = cc.get("fanControl")
Expand All @@ -580,10 +580,10 @@ def __get_swing_modes(self, direction):
return swingMode

def get_swing_mode(self):
return self.__get_swing_modes("vertical")
return self.__get_swing_mode("vertical")

def get_swing_horizontal_mode(self):
return self.__get_swing_modes("horizontal")
return self.__get_swing_mode("horizontal")

def __get_swing_modes(self, direction):
swingModes = []
Expand Down

0 comments on commit acb1f6c

Please sign in to comment.