Skip to content

Commit acb1f6c

Browse files
committed
Fixed swing mode
* custom_components/daikin_onecta/climate.py:
1 parent 26151a3 commit acb1f6c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

custom_components/daikin_onecta/climate.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ async def async_set_fan_mode(self, fan_mode):
556556

557557
return res
558558

559-
def __get_swing_modes(self, direction):
559+
def __get_swing_mode(self, direction):
560560
swingMode = ""
561561
cc = self.climate_control()
562562
fanControl = cc.get("fanControl")
@@ -580,10 +580,10 @@ def __get_swing_modes(self, direction):
580580
return swingMode
581581

582582
def get_swing_mode(self):
583-
return self.__get_swing_modes("vertical")
583+
return self.__get_swing_mode("vertical")
584584

585585
def get_swing_horizontal_mode(self):
586-
return self.__get_swing_modes("horizontal")
586+
return self.__get_swing_mode("horizontal")
587587

588588
def __get_swing_modes(self, direction):
589589
swingModes = []

0 commit comments

Comments
 (0)