-
Notifications
You must be signed in to change notification settings - Fork 15
Description
Hello,
thank you for this cool custom addon :-)
When I try to use a Custom Template thats not working.
- entity_id: sensor.anniversary*
state: < 25
options:
type: custom:secondaryinfo-entity-row
secondary_info: '[[ if({entity}.attributes.years_at_anniversary != "undefined", {entity}.attributes.years_at_anniversary, ""]] Years"'
In my case I would like to get rid of Years too, but the template is not rendered because of errors
If template is working I would like to try the following 👍
- entity_id: sensor.anniversary*
state: < 25
options:
type: custom:secondaryinfo-entity-row
secondary_info: '[[ if({entity}.attributes.years_at_anniversary != "undefined", {entity}.attributes.years_at_anniversary && "Years", ""]]"'
It would be nice to be able to add some text to a entitiys attribute.
Greetings
Kilowatt