fix homematic climate implementation (#3114)

This commit is contained in:
Pascal Vizeli 2016-09-01 22:20:55 +02:00 committed by GitHub
parent 83f1272662
commit dcfc1ef361

View File

@ -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):