forked from home-assistant/core
fix homematic climate implementation (#3114)
This commit is contained in:
@@ -101,7 +101,7 @@ class HMThermostat(homematic.HMDevice, ClimateDevice):
|
|||||||
for mode, state in HM_STATE_MAP.items():
|
for mode, state in HM_STATE_MAP.items():
|
||||||
if state == operation_mode:
|
if state == operation_mode:
|
||||||
code = getattr(self._hmdevice, mode, 0)
|
code = getattr(self._hmdevice, mode, 0)
|
||||||
self._hmdevice.STATE = code
|
self._hmdevice.MODE = code
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def min_temp(self):
|
def min_temp(self):
|
||||||
|
Reference in New Issue
Block a user