From b10c1863175e3ec4e44424eef32ce37de7c7b2a1 Mon Sep 17 00:00:00 2001 From: Paul Bottein Date: Mon, 15 Jul 2024 11:34:22 +0200 Subject: [PATCH] Fix picker --- src/components/entity/ha-entity-state-content-picker.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}`