-
-
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
[bug] - hvac_action_reason empty after restart #266
Comments
@cyberkryten, @jacobw |
- platform: dual_smart_thermostat
name: Lounge Climate
unique_id: lounge_climate
heater: switch.lounge_heatpump_heat
cooler: switch.lounge_heatpump_cool
target_sensor: sensor.yz_666e_temperature
sensor_stale_duration: 0:05
heat_cool_mode: true
min_temp: 15
max_temp: 26
target_temp: 21.5
target_temp_high: 21.5
target_temp_low: 19
cold_tolerance: 0.5
hot_tolerance: 0
precision: 0.1
target_temp_step: 0.5 |
Here's what I have: `
I'm not bothered about it being set the instant of restart (ie memory of what it was as I think that's hard in HA) - as I said, it also happens if you reload all YAML using Dev Tools, so just doing it after a full HA restart won't actually fix it. I guess when making the 'do I do stuff' decision, checking if there's a value in there, and if not updating it to the current reason would fix both cases (and any others lurking). |
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 #245 (comment)
The text was updated successfully, but these errors were encountered: