From c3888330c1ab22b846dc7bfcd810c483db839e3e Mon Sep 17 00:00:00 2001 From: springstan <46536646+springstan@users.noreply.github.com> Date: Wed, 22 Jan 2020 01:28:19 +0100 Subject: [PATCH] Fix fan_modes in tuya climate (#30942) --- homeassistant/components/tuya/climate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/tuya/climate.py b/homeassistant/components/tuya/climate.py index eb0ef5eca2f2..8537e61a3ae7 100644 --- a/homeassistant/components/tuya/climate.py +++ b/homeassistant/components/tuya/climate.py @@ -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."""