Closed alryaz closed 3 years ago
exactly what I wanted, thanks.
@iantrich can you please merge this.
Has anyone tested to see if this still works?
Has anyone tested to see if this still works?
I do still use this plug-in, so I can make a revision to ensure stuff works, and maybe call for HACS Default addition. Expect it by Sunday.
@iantrich I have tested it and confirmed it works. There are some template issues with this card that this definitely solves (the door is open):
- entity: lock.front_door
secondary_info: >-
Door is [[ if(is_state("binary_sensor.front_door_open", "on"), "Open",
"Closed") ]]
type: 'custom:secondaryinfo-entity-row'
- entity: lock.front_door
secondary_info: >-
Door is {% if is_state("binary_sensor.front_door_open", "on") %}Open{%
else %}Closed{% endif %}
type: 'custom:secondaryinfo-entity-row'
- entity: lock.back_foyer_door
Confirmed this still works, and has been rolled into release 5.0. Thank you!
This adds support for Jinja2 templates API of card-tools, which utilizes Home Assistant backend for rendering.