mirror of
				https://github.com/house-of-abbey/GarminHomeAssistant.git
				synced 2025-11-04 08:58:13 +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) {
 | 
					    private function buildMenu(menu as Lang.Dictionary) {
 | 
				
			||||||
        mHaMenu = new HomeAssistantView(menu, null);
 | 
					        mHaMenu = new HomeAssistantView(menu, null);
 | 
				
			||||||
        mQuitTimer.begin();
 | 
					        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() {
 | 
					    function startUpdates() {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user