diff --git a/src/panels/developer-tools/template/developer-tools-template.ts b/src/panels/developer-tools/template/developer-tools-template.ts index f16f77bd1f4b..f3bf5336bb1c 100644 --- a/src/panels/developer-tools/template/developer-tools-template.ts +++ b/src/panels/developer-tools/template/developer-tools-template.ts @@ -181,17 +181,21 @@ class HaPanelDevTemplate extends LitElement { >` : nothing} ${this._templateResult - ? html`${this.hass.localize( - "ui.panel.developer-tools.tabs.templates.result_type" - )}: - ${resultType} - -
${type === "object" - ? JSON.stringify(this._templateResult.result, null, 2) - : this._templateResult.result}+ ? html`
+ ${type === "object" + ? JSON.stringify(this._templateResult.result, null, 2) + : this._templateResult.result}+
+ ${this.hass.localize( + "ui.panel.developer-tools.tabs.templates.result_type" + )}: + ${resultType} +
${this._templateResult.listeners.time ? html`
@@ -249,11 +253,11 @@ class HaPanelDevTemplate extends LitElement {
`
: !this._templateResult.listeners.time
- ? html`
+ ? html`
${this.hass.localize(
"ui.panel.developer-tools.tabs.templates.no_listeners"
)}
-