* The api reports success before the state change takes effect * We now set state optimistically and followup with an update 4 seconds in the future after any state change to verify it actually happens. * When hvac_mode is passed to the set_temperature service we now switch to the desired mode.