diff --git a/src/components/entity/ha-entity-state-content-picker.ts b/src/components/entity/ha-entity-state-content-picker.ts index 72bdb2a17b7d..70272ad36118 100644 --- a/src/components/entity/ha-entity-state-content-picker.ts +++ b/src/components/entity/ha-entity-state-content-picker.ts @@ -116,7 +116,7 @@ class HaEntityStatePicker extends LitElement { }, ...(domain ? STATE_DISPLAY_SPECIAL_CONTENT.filter((content) => - STATE_DISPLAY_SPECIAL_CONTENT_DOMAINS[content]?.includes(domain) + STATE_DISPLAY_SPECIAL_CONTENT_DOMAINS[domain]?.includes(content) ).map((content) => ({ label: this.hass.localize( `ui.components.state-content-picker.${content}`