mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 14:17:45 +00:00
fix homematic climate implementation (#3114)
This commit is contained in:
parent
83f1272662
commit
dcfc1ef361
@ -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):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user