Fix fan_modes in tuya climate (#30942)

This commit is contained in:
springstan 2020-01-22 01:28:19 +01:00 committed by Martin Hjelmare
parent 15f6e28a04
commit c3888330c1

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."""