This commit is contained in:
2023-11-21 19:28:45 -05:00
parent 131c6483c0
commit 4b12433c62

View File

@ -408,6 +408,7 @@ template:
selectattr('state','eq','on') | selectattr('state','eq','on') |
list | list |
count %} count %}
{{ interior }}
attributes: attributes:
open: > open: >
{% set exterior = expand('binary_sensor.exterior_doors') | {% set exterior = expand('binary_sensor.exterior_doors') |
@ -420,8 +421,9 @@ template:
selectattr('state','eq','on') | selectattr('state','eq','on') |
map(attribute='attributes.friendly_name') | map(attribute='attributes.friendly_name') |
list %} list %}
{{ interior }}
icon: >- icon: >-
{% if states('sensor.interior_doors_open') | int == 0 %} {% if states('sensor.interior_doors') | int == 0 %}
mdi:door-closed mdi:door-closed
{% else %} {% else %}
mdi:door-open mdi:door-open