Files
core/homeassistant
ruohan.chen 4ac9e7edf4 fix generic_thermostat bug when restore state from HA start up (#12134)
* fix generic_thermostat bug when restore state from HA start up

if you don't set "initial_operation_mode" in config, you will get
`self._enabled = True` when init GenericThermostat. And then you will
miss the `if self._current_operation != STATE_OFF` statement and the
self._enabled still keep `True`. That's the problem

* add a test to describe the restore case
2018-02-03 16:59:19 +01:00
..
2018-02-02 22:35:34 +01:00
2018-01-30 14:44:05 -08:00
2016-03-08 00:06:04 +01:00
2018-01-30 12:30:47 +01:00
2018-01-27 11:58:27 -08:00
2018-01-29 00:24:08 -08:00
2018-01-29 00:23:53 -08:00
2018-01-30 12:30:47 +01:00
2018-01-30 12:30:47 +01:00