Files
core/homeassistant/components/climate
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-01-30 10:39:39 +01:00
2018-01-30 14:59:43 -08:00
2018-01-20 22:35:38 -08:00
2018-01-27 11:58:27 -08:00
2018-01-30 14:44:05 -08:00
2018-01-27 11:58:27 -08:00
2018-01-20 22:35:38 -08:00
2018-01-27 11:58:27 -08:00
2018-01-29 23:37:19 +01:00
2018-01-30 10:39:39 +01:00
2018-01-29 23:37:19 +01:00
2018-01-29 23:37:19 +01:00
2018-01-19 13:04:53 +01:00
2018-02-02 17:28:54 -08:00
2018-01-20 22:35:38 -08:00
2018-01-20 22:35:38 -08:00
2018-01-29 12:35:13 +01:00
2017-12-07 07:47:19 +01:00
2018-01-09 23:55:14 -08:00