Move away from binary sensors for presence tracking
This commit is contained in:
Submodule node-red/projects/NerdFlows updated: 08817a0b8e...1833399c3f
@ -59,8 +59,8 @@ automation:
|
|||||||
entity_id: input_boolean.kallen_overnight
|
entity_id: input_boolean.kallen_overnight
|
||||||
state: 'off'
|
state: 'off'
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: binary_sensor.kallen_home
|
entity_id: person.kallen_stork
|
||||||
state: 'on'
|
state: 'home'
|
||||||
action:
|
action:
|
||||||
- choose:
|
- choose:
|
||||||
- conditions:
|
- conditions:
|
||||||
|
@ -235,11 +235,11 @@ template:
|
|||||||
device_class: presence
|
device_class: presence
|
||||||
- name: "Nerds Home"
|
- name: "Nerds Home"
|
||||||
unique_id: 2672a6a2-4be4-495c-b479-ffc7c6df67d2
|
unique_id: 2672a6a2-4be4-495c-b479-ffc7c6df67d2
|
||||||
state: "{{ is_state('group.family','home') and (is_state('binary_sensor.tony_home','on') or is_state('binary_sensor.kallen_home','on')) }}"
|
state: "{{ is_state('group.family','home') and (is_state('person.tony_stork','home') or is_state('person.kallen_stork','home')) }}"
|
||||||
device_class: presence
|
device_class: presence
|
||||||
- name: "Parents Home"
|
- name: "Parents Home"
|
||||||
unique_id: 8de02d19-60a6-436d-9187-1cfc70d6c297
|
unique_id: 8de02d19-60a6-436d-9187-1cfc70d6c297
|
||||||
state: "{{ is_state('group.adults','home') and (is_state('binary_sensor.tony_home','on') or is_state('binary_sensor.tina_home','on')) }}"
|
state: "{{ is_state('group.adults','home') and (is_state('person.tony_stork','home') or is_state('person.christina_stork','home')) }}"
|
||||||
device_class: presence
|
device_class: presence
|
||||||
- name: "Basement Unoccupied"
|
- name: "Basement Unoccupied"
|
||||||
unique_id: 20039c29-8b9d-436d-ba6c-8f2c2bda1db0
|
unique_id: 20039c29-8b9d-436d-ba6c-8f2c2bda1db0
|
||||||
|
Reference in New Issue
Block a user