ha-dual-smart-thermostat
ha-dual-smart-thermostat copied to clipboard
[feat] - save last state in off state, so toggling after restart picks up last settings
If I restart HA while the climate control is on, it correctly continues as it was before the restart. However, if it's off, it forgets the recent state and I have to manually set it again, instead if just being able to toggle it back on again. This also means I lose the previous temp setting.
Is it possible to save and restore state when of too?
E.g, before restart, last setting was heating with target 20.5. After restart if I toggle on, it goes back to cooling target 19, and I have to go and configure again. This happens fairly regularly due to many updates requiring restarts.