ha-dual-smart-thermostat icon indicating copy to clipboard operation
ha-dual-smart-thermostat copied to clipboard

[bug] - hvac_action_reason empty after restart

Open swingerman opened this issue 6 months ago • 3 comments

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

Originally posted by @cyberkryten in https://github.com/swingerman/ha-dual-smart-thermostat/issues/245#issuecomment-2262824221

swingerman avatar Aug 11 '24 21:08 swingerman