Closed T3chArmy closed 1 month ago
Will be included in the next release
@swingerman There unfortunately still seems to be an issue. Thermostat does not seem to be working still at HA startup until hvac_mode is manually changed.
Do you have the initial_hvac_mode
set in your config?
@swingerman I have tried it both defined and undefined. Neither one seems to work. It appears to restore the state correctly when undefined as expected with latest beta. However, it appears to never activate the switches until after the hvac_mode is changed. I wonder if this could possibly be due to the thermostat initializing before the Zigbee switches become available? I'm not sure.
I have also noticed the hvac_action_reason doesn't get set either until I change the hvac_mode. Figured if it was a switch issue it would show malfunction or misconfiguration.
I turned on debug logging. Hope this provides some better insight to my issue. Restarted HA, restored previous mode, but not temp, so I lowered temp to below current temp, waited, it never turned on. Changed hvac_mode and it kicked in instantly.
I managed to reproduce this and also managed to ensure the climate devices gets controlled on startup
Please check with v0.9.6.beta-10
@swingerman 🎉 Excellent! Looks like it's working now! Thanks for getting this resolved! I think this fixes all the issues I have been experiencing! :)
When HA starts up this error is constantly thrown until hvac_mode is manually set.