mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 03:37:07 +00:00
Fix fan_modes in tuya climate (#30942)
This commit is contained in:
parent
15f6e28a04
commit
c3888330c1
@ -122,7 +122,7 @@ class TuyaClimateDevice(TuyaDevice, ClimateDevice):
|
|||||||
@property
|
@property
|
||||||
def fan_modes(self):
|
def fan_modes(self):
|
||||||
"""Return the list of available fan modes."""
|
"""Return the list of available fan modes."""
|
||||||
return self.tuya.fan_modes()
|
return self.tuya.fan_list()
|
||||||
|
|
||||||
def set_temperature(self, **kwargs):
|
def set_temperature(self, **kwargs):
|
||||||
"""Set new target temperature."""
|
"""Set new target temperature."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user