mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-22 15:34:26 +01:00
Update controller.py
This commit is contained in:
@@ -26,8 +26,8 @@ class LuiController(object):
|
|||||||
ha_api.run_minutely(self._pages_gen.update_time, time)
|
ha_api.run_minutely(self._pages_gen.update_time, time)
|
||||||
|
|
||||||
# Setup date callback
|
# 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 callback
|
||||||
weather_interval = 15 * 60 # 15 minutes
|
weather_interval = 15 * 60 # 15 minutes
|
||||||
ha_api.run_every(self.weather_update, "now", weather_interval)
|
ha_api.run_every(self.weather_update, "now", weather_interval)
|
||||||
|
|||||||
Reference in New Issue
Block a user