Add K and guest mode to "people present" sensor
This commit is contained in:
@ -89,7 +89,7 @@ template:
|
|||||||
- binary_sensor:
|
- binary_sensor:
|
||||||
- name: People Present
|
- name: People Present
|
||||||
state: >
|
state: >
|
||||||
{{ is_state('person.tony_stork', 'home') or is_state('person.christina_stork', 'home') }}
|
{{ is_state('person.tony_stork', 'home') or is_state('person.christina_stork', 'home') or is_state('person.kallen_stork', 'home') or is_state('input_boolean.guest_mode', 'on') }}
|
||||||
- name: "Tony Home"
|
- name: "Tony Home"
|
||||||
unique_id: 4f0d8c3d-dc49-4b7a-a1fc-5d286b4a954d
|
unique_id: 4f0d8c3d-dc49-4b7a-a1fc-5d286b4a954d
|
||||||
state: "{{ is_state('device_tracker.tony_s_iphone', 'home') }}" # Add new tracker when we have one
|
state: "{{ is_state('device_tracker.tony_s_iphone', 'home') }}" # Add new tracker when we have one
|
||||||
|
Reference in New Issue
Block a user