Fix fan_modes in tuya climate (#30942)

This commit is contained in:
springstan authored and Martin Hjelmare committed 2020-01-22 01:28:19 +01:00
1 parent 15f6e28a04
commit c3888330c1
1 file changed
+1 -1
+1 -1
View File
@@ -122,7 +122,7 @@ class TuyaClimateDevice(TuyaDevice, ClimateDevice):
@property
def fan_modes(self):
"""Return the list of available fan modes."""
return self.tuya.fan_modes()
return self.tuya.fan_list()
def set_temperature(self, **kwargs):
"""Set new target temperature."""