Skip to content

Commit

Permalink
Fix fan_modes in tuya climate (#30942)
Browse files Browse the repository at this point in the history
  • Loading branch information
springstan authored and MartinHjelmare committed Jan 22, 2020
1 parent 15f6e28 commit c388833
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant/components/tuya/climate.py
Expand Up @@ -122,7 +122,7 @@ def fan_mode(self):
@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."""
Expand Down

0 comments on commit c388833

Please sign in to comment.