From 06464404c478bf25e136930378e97acf7a12cf18 Mon Sep 17 00:00:00 2001 From: Johannes Date: Thu, 31 Mar 2022 09:39:02 +0200 Subject: [PATCH] Update controller.py --- apps/nspanel-lovelace-ui/luibackend/controller.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/nspanel-lovelace-ui/luibackend/controller.py b/apps/nspanel-lovelace-ui/luibackend/controller.py index 1bedfc8b..7d294cc9 100644 --- a/apps/nspanel-lovelace-ui/luibackend/controller.py +++ b/apps/nspanel-lovelace-ui/luibackend/controller.py @@ -26,8 +26,8 @@ class LuiController(object): ha_api.run_minutely(self._pages_gen.update_time, time) # Setup date callback - self.api.run_daily(self._pages_gen.update_date, time) - + ha_api.run_daily(self._pages_gen.update_date, time) + # weather callback weather_interval = 15 * 60 # 15 minutes ha_api.run_every(self.weather_update, "now", weather_interval)