zxt_120 set temperature did not update on setpoint (#3380)

This commit is contained in:
John Arild Berentsen 2016-09-13 20:26:44 +02:00 committed by GitHub
parent bba75bf6c3
commit 898cf1b352

View file

@ -261,6 +261,7 @@ class ZWaveClimate(ZWaveDeviceEntity, ClimateDevice):
self._target_temperature = temperature
# ZXT-120 responds only to whole int
value.data = round(temperature, 0)
self.update_ha_state()
break
else:
_LOGGER.debug("Setting new setpoint for %s, "