mirror of
https://github.com/home-assistant/core.git
synced 2026-07-04 23:51:32 +02:00
4ac9e7edf4
* 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