diff --git a/src/panels/developer-tools/template/developer-tools-template.ts b/src/panels/developer-tools/template/developer-tools-template.ts index 564f08f984..9ec9c1c4ad 100644 --- a/src/panels/developer-tools/template/developer-tools-template.ts +++ b/src/panels/developer-tools/template/developer-tools-template.ts @@ -228,11 +228,13 @@ class HaPanelDevTemplate extends LitElement { )} ` - : html` + : !this._templateResult?.listeners.time + ? html` ${this.hass.localize( "ui.panel.developer-tools.tabs.templates.no_listeners" )} - `} + ` + : html``} `; diff --git a/src/translations/en.json b/src/translations/en.json index faf54dd649..3253f435c6 100755 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -2961,9 +2961,9 @@ "jinja_documentation": "Jinja2 template documentation", "template_extensions": "Home Assistant template extensions", "unknown_error_template": "Unknown error rendering template", - "time": "This template updates every 60 seconds after the last state changed event.", + "time": "This template updates at the start of each minute.", "all_listeners": "This template listens for all state changed events.", - "no_listeners": "This template does not listen for any state changed events and will not update automatically.", + "no_listeners": "This template does not listen for any events and will not update automatically.", "listeners": "This template listens for the following state changed events:", "entity": "Entity", "domain": "Domain"