From 4b386c06612e5067ec98adfce52aeeebbcb2a408 Mon Sep 17 00:00:00 2001 From: Paul Bottein Date: Fri, 29 Sep 2023 12:45:03 +0200 Subject: [PATCH] Add current state --- .../editor/conditions/types/ha-card-condition-state.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/panels/lovelace/editor/conditions/types/ha-card-condition-state.ts b/src/panels/lovelace/editor/conditions/types/ha-card-condition-state.ts index f550847aa3..f23cd3eb09 100644 --- a/src/panels/lovelace/editor/conditions/types/ha-card-condition-state.ts +++ b/src/panels/lovelace/editor/conditions/types/ha-card-condition-state.ts @@ -143,7 +143,9 @@ export class HaCardConditionState extends LitElement { if (entity) { return `${this.hass.localize( "ui.components.entity.entity-state-picker.state" - )} (${this.hass.formatEntityState(entity)})`; + )} (${this.hass.localize( + "ui.panel.lovelace.editor.card.conditional.current_state" + )}: ${this.hass.formatEntityState(entity)})`; } return `${this.hass.localize( "ui.components.entity.entity-state-picker.state"