Just don't play TTS on anywhere on second floor while anyone is sleeping
Critical notifications will of course still ignore all restrictions
This commit is contained in:
@ -258,6 +258,10 @@ template:
|
||||
- name: "Upstairs Bathroom Occupied"
|
||||
unique_id: 7ec69a26-1013-4b0d-8662-a91ab9f040ca
|
||||
state: "{{ is_state('timer.upstairs_bathroom_motion_timer','active') or is_state('binary_sensor.upstairs_bathroom_motion','on') or is_state('input_boolean.shower_mode','on') }}"
|
||||
- name: "People Sleeping"
|
||||
unique_id: 3f0a1504-fd01-4967-a6fb-0309813d31e3
|
||||
state: "{{ is_state('input_boolean.emma_sleeping','on') or is_state('input_boolean.kallen_sleeping','on') or is_state('input_boolean.master_bedroom_sleeping','on') }}"
|
||||
icon: mdi:sleep
|
||||
|
||||
mqtt:
|
||||
sensor:
|
||||
|
Reference in New Issue
Block a user