From f33a39d0775ceed34edfb900376f7ed11cfaf986 Mon Sep 17 00:00:00 2001 From: Brandon Harvey Date: Wed, 4 Mar 2026 07:50:54 -0600 Subject: [PATCH] fix: update apollo_firmware_version on every HA client connection The sensor uses update_interval: never and only updated via reportAllValues, which is gated behind the prevent_sleep=OFF branch of on_client_connected. Since prevent_sleep defaults to RESTORE_DEFAULT_ON, the sensor never got a value in always-on mode and showed "unknown" in HA. Fix by calling component.update unconditionally at the start of on_client_connected, before the 90s delay and sleep conditional. --- Integrations/ESPHome/Core.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Integrations/ESPHome/Core.yaml b/Integrations/ESPHome/Core.yaml index 8be7348..1897d6f 100644 --- a/Integrations/ESPHome/Core.yaml +++ b/Integrations/ESPHome/Core.yaml @@ -11,6 +11,7 @@ esp32: api: on_client_connected: + - component.update: apollo_firmware_version - delay: 90s - if: condition: