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 ]]]"