From f8c33b74bb4420ddc5f8e696f300fa7a645ca7b4 Mon Sep 17 00:00:00 2001 From: BasBruss <68892092+basbruss@users.noreply.github.com> Date: Wed, 3 May 2023 10:53:47 +0200 Subject: [PATCH] Update custom_card_person_chip.yaml Add translation fix --- .../custom_card_person_chip/custom_card_person_chip.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_cards/custom_card_person_chip/custom_card_person_chip.yaml b/custom_cards/custom_card_person_chip/custom_card_person_chip.yaml index 34749170a..ea32ac12a 100644 --- a/custom_cards/custom_card_person_chip/custom_card_person_chip.yaml +++ b/custom_cards/custom_card_person_chip/custom_card_person_chip.yaml @@ -13,7 +13,7 @@ custom_card_person_chip: label: > [[[ let state = states[variables.ulm_custom_card_person_chip_entity].state; - return hass.resources[hass["language"]]["component.person" + ".state._." + state] || state; + return hass.resources[hass["language"]]["component.person.entity_component._.state." + state] || state; ]]] show_entity_picture: true entity_picture: "[[[ return states[variables.ulm_custom_card_person_chip_entity].attributes.entity_picture ]]]"