From 1c6546f4c70f11840152cf3f2f3c6661ee9e40c2 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Sun, 11 Oct 2020 18:21:40 +0200 Subject: [PATCH] Add automatic reload of OH visualization --- UI/OhVisualization.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/UI/OhVisualization.ts b/UI/OhVisualization.ts index cf1df28..dfc3551 100644 --- a/UI/OhVisualization.ts +++ b/UI/OhVisualization.ts @@ -12,6 +12,7 @@ export default class OpeningHoursVisualization extends UIElement { constructor(tags: UIEventSource, key: string) { super(tags); this._key = key; + this.ListenTo(UIEventSource.Chronic(60*1000)); // Automatically reload every minute }