Add automatic reload of OH visualization
This commit is contained in:
parent
de449546d3
commit
1c6546f4c7
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue