From e41f451fbca17a96b016bafc3d9bbd8b8d7cde01 Mon Sep 17 00:00:00 2001 From: Philip Abbey Date: Thu, 27 Mar 2025 20:45:02 +0000 Subject: [PATCH] Update HomeAssistantApp.mc Fix for lost speedup from v2.24 when fixing a bug in v2.25. --- source/HomeAssistantApp.mc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/HomeAssistantApp.mc b/source/HomeAssistantApp.mc index 77e3df2..90b2d9a 100644 --- a/source/HomeAssistantApp.mc +++ b/source/HomeAssistantApp.mc @@ -266,6 +266,9 @@ class HomeAssistantApp extends Application.AppBase { private function buildMenu(menu as Lang.Dictionary) { mHaMenu = new HomeAssistantView(menu, null); mQuitTimer.begin(); + if (!Settings.getWebhookId().equals("")) { + startUpdates(); + } // If not, this will be done via a chain in Settings.webhook() and mWebhookManager.requestWebhookId() that registers the sensors. } function startUpdates() {