From cb5621032db8226f581b361b47e421173323c9f5 Mon Sep 17 00:00:00 2001 From: Erik Montnemery Date: Tue, 30 Aug 2022 20:24:05 +0200 Subject: [PATCH] Allow controlling an input_select in unknown state (#13524) --- .../lovelace/entity-rows/hui-input-select-entity-row.ts | 6 ++++-- src/state-summary/state-card-input_select.ts | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/panels/lovelace/entity-rows/hui-input-select-entity-row.ts b/src/panels/lovelace/entity-rows/hui-input-select-entity-row.ts index 931117bc58..896c8c4113 100644 --- a/src/panels/lovelace/entity-rows/hui-input-select-entity-row.ts +++ b/src/panels/lovelace/entity-rows/hui-input-select-entity-row.ts @@ -4,7 +4,7 @@ import { customElement, property, state } from "lit/decorators"; import { stopPropagation } from "../../../common/dom/stop_propagation"; import { computeStateName } from "../../../common/entity/compute_state_name"; import "../../../components/ha-select"; -import { UNAVAILABLE_STATES } from "../../../data/entity"; +import { UNAVAILABLE } from "../../../data/entity"; import { forwardHaptic } from "../../../data/haptics"; import { InputSelectEntity, @@ -61,7 +61,9 @@ class HuiInputSelectEntityRow extends LitElement implements LovelaceRow {