diff --git a/MMM-HomeAssistantDisplay.js b/MMM-HomeAssistantDisplay.js index c34bce6..ba53090 100755 --- a/MMM-HomeAssistantDisplay.js +++ b/MMM-HomeAssistantDisplay.js @@ -57,7 +57,7 @@ Module.register("MMM-HomeAssistantDisplay", { setInterval(()=> { this.renderTemplates("timeout"); this.updateDom(); - }, section.refreshTimer); + }, section.refreshTimer * 1000); } } } diff --git a/README.md b/README.md index a855c6b..0c208c1 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ Templates allow you to output virtually any HTML you want to in the contents of | triggerEntities | The array of entities to watch for state changes to determine if this sections displayTemplate should be re-rendered. | | displayTemplate | The template to send to Home Assistant to render. The results of the render will be displayed as the contents of this section in the module. | | class | The CSS class name to add to the `