Implemented sensors for how many times the doors have been opened daily

This commit is contained in:
2022-12-10 16:54:11 -05:00
parent 1c318a5e87
commit 8f1898cebe
2 changed files with 11 additions and 1 deletions

Submodule node-red/projects/NerdFlows updated: fd400e6326...ec26b1e85c

View File

@ -162,6 +162,16 @@ sensor:
states.person.kallen_stork,
] %}
{{ people | selectattr('state','ne','home') | list | count }}
front_door_opened_today:
friendly_name: "Front Door Opened Today"
unit_of_measurement: 'times'
value_template: >-
{{ states('input_number.front_door_opened_today') | int }}
back_door_opened_today:
friendly_name: "Back Door Opened Today"
unit_of_measurement: 'times'
value_template: >-
{{ states('input_number.back_door_opened_today') | int }}
mqtt:
sensor: