initial commit

This commit is contained in:
2025-02-07 12:46:24 -05:00
commit 8dfb36a3f1
183 changed files with 9212 additions and 0 deletions

View File

@ -0,0 +1,10 @@
---
- platform: template
sensors:
number_doors_open:
friendly_name: "Open Doors"
unit_of_measurement: door(s)
value_template: >
{{ label_entities(label_id('external')) | expand | selectattr('state', '==', 'on') | map(attribute='entity_id') | select('in', label_entities("door")) | list | count }}
# {{ states.binary_sensor | selectattr('object_id', 'match', 'door_.*') | selectattr('state', '==', 'on') | map(attribute='entity_id') | list | count }}