From dcfc1ef361fdc8521b0531c24a2d8a2a73220cbd Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Thu, 1 Sep 2016 22:20:55 +0200 Subject: [PATCH] fix homematic climate implementation (#3114) --- homeassistant/components/climate/homematic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/climate/homematic.py b/homeassistant/components/climate/homematic.py index be81bb9326e..e51ad5e67a5 100644 --- a/homeassistant/components/climate/homematic.py +++ b/homeassistant/components/climate/homematic.py @@ -101,7 +101,7 @@ class HMThermostat(homematic.HMDevice, ClimateDevice): for mode, state in HM_STATE_MAP.items(): if state == operation_mode: code = getattr(self._hmdevice, mode, 0) - self._hmdevice.STATE = code + self._hmdevice.MODE = code @property def min_temp(self):