An unchanged sensor value could leave Home Assistant showing ‘unavailable’ even after an ESPHome device reconnected. A message sent too late during shutdown made the next identical reading look like a duplicate.

Devices without deep sleep—the low-power mode that temporarily suspends operation—send the queued readings their connection can accept before announcing the disconnect. That ordering prevents stale readings from hiding the device’s return after a restart or firmware update.