When changing a setting, such as setpoint or mode via HA UI, the state often bounces to its previous version before reflecting the updated state. I suspect this is because either the ESPHome device was already in the process of gathering and sending a state update prior to receiving a command, or the HVAC unit lags in its state reporting by a second or two.
Idea: When receiving a command, update internal state and temporarily delay interval-based state updates.
When changing a setting, such as setpoint or mode via HA UI, the state often bounces to its previous version before reflecting the updated state. I suspect this is because either the ESPHome device was already in the process of gathering and sending a state update prior to receiving a command, or the HVAC unit lags in its state reporting by a second or two.
Idea: When receiving a command, update internal state and temporarily delay interval-based state updates.