Skip to content

Commit

Permalink
Update custom_card_person_chip.yaml
Browse files Browse the repository at this point in the history
Add translation fix
  • Loading branch information
basbruss authored May 3, 2023
1 parent 6d147f2 commit f8c33b7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 ]]]"
Expand Down

0 comments on commit f8c33b7

Please sign in to comment.