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,8 @@
---
- platform: template
sensors:
number_light_on:
friendly_name: "Lights ON"
unit_of_measurement: light(s)
value_template: >
{{ states.light | rejectattr('attributes.color_mode', '==', 'onoff') | rejectattr('attributes.entity_id', 'defined') | selectattr('state', '==', 'on') | map(attribute='entity_id') | list | count }}