@marnixk77 wrote:
I am trying to get a state value as name on a picture entity card. Someone mentioned to use the config-template-card option.
type: 'custom:config-template-card' variables: - 'states[''sensor.trash_first_next_item''].state' entities: - sensor.trash_first_next_item - sensor.trash_first_next_date card: type: 'custom:picture-entity' entities: - entity: sensor.trash_first_next_item name: '${states[''sensor.trash_first_next_date''].state}' state_image: Geen: /local/afvalwijzer/geen.png gft: /local/afvalwijzer/gft.png papier: /local/afvalwijzer/papier.png plastic: /local/afvalwijzer/plastic.png restafval: /local/afvalwijzer/grijs.png
With the config above I get the error:
Custom element doesn’t exist: picture-entity.Is it possible to the custom-config-template with the custom-config-template addon?
Posts: 4
Participants: 2