Implemented sensors for how many times the doors have been opened daily
This commit is contained in:
Submodule node-red/projects/NerdFlows updated: fd400e6326...ec26b1e85c
@@ -162,6 +162,16 @@ sensor:
|
|||||||
states.person.kallen_stork,
|
states.person.kallen_stork,
|
||||||
] %}
|
] %}
|
||||||
{{ people | selectattr('state','ne','home') | list | count }}
|
{{ 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:
|
mqtt:
|
||||||
sensor:
|
sensor:
|
||||||
|
|||||||
Reference in New Issue
Block a user