diff --git a/src/panels/config/automation/add-automation-element-dialog.ts b/src/panels/config/automation/add-automation-element-dialog.ts index 54bec69bd6..8a08f1d064 100644 --- a/src/panels/config/automation/add-automation-element-dialog.ts +++ b/src/panels/config/automation/add-automation-element-dialog.ts @@ -599,7 +599,7 @@ class DialogAddAutomationElement : nothing} ${collections.map( (collection, index) => html` - ${collection.titleKey + ${collection.titleKey && collection.groups.length ? html` ${this.hass.localize(collection.titleKey)} `