Fix fan_modes in tuya climate (#30942)
This commit is contained in:
committed by
Martin Hjelmare
parent
15f6e28a04
commit
c3888330c1
@@ -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."""
|
||||
|
||||
Reference in New Issue
Block a user