-
-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feat] - save last state in off state, so toggling after restart picks up last settings #245
Comments
Could you confirm the current version you use and your current configuration? |
v0.9.7 (though this has been an issue for a while) I've been trying different things to resolve this issue so a few bits commented out while I've been testing.
|
Thanks. I will look into this. |
I'm not sure if it is related (or helpful) but hvac_action_reason doesn't get set to anything at all after a restart until the thermostat takes some 'action' again. So if it was target_temp_reached and you restart (or reload the YAML from Developer tools) then it remains as an empty attribute until something gets changed and causes an action to occur that would change it. I've been trying to use it to determine if an AC has been turned off by the integration or manually from a control panel and the 'blank' value has caused some issues with the logic |
Yeah it's never set every time I check it too. Right now it's active and idle because it just hit target but doesn't say that. Eg hvac_modes:
|
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.
The text was updated successfully, but these errors were encountered: