mirror of
https://github.com/house-of-abbey/GarminHomeAssistant.git
synced 2025-04-30 20:52:27 +00:00
Update HomeAssistantApp.mc
Fix for lost speedup from v2.24 when fixing a bug in v2.25.
This commit is contained in:
@ -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() {
|
||||
|
Reference in New Issue
Block a user