Update HomeAssistantApp.mc

Fix for lost speedup from v2.24 when fixing a bug in v2.25.
This commit is contained in:
Philip Abbey
2025-03-27 20:45:02 +00:00
parent c13e898e59
commit e41f451fbc

View File

@ -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() {