Add automatic reload of OH visualization

This commit is contained in:
Pieter Vander Vennet 2020-10-11 18:21:40 +02:00
parent de449546d3
commit 1c6546f4c7

View file

@ -12,6 +12,7 @@ export default class OpeningHoursVisualization extends UIElement {
constructor(tags: UIEventSource<any>, key: string) {
super(tags);
this._key = key;
this.ListenTo(UIEventSource.Chronic(60*1000)); // Automatically reload every minute
}