Allow weather alerts when everyone is sleeping except me

This commit is contained in:
2023-08-08 19:38:05 -04:00
parent 1f03c7b8fe
commit 2b46b813ee

View File

@ -246,6 +246,8 @@ template:
state: >
{% if is_state('input_boolean.audible_notifications','on') %}
true
{% elif is_state('binary_sensor.basement_occupied','on') %}
true
{% elif states('sensor.people_sleeping_total') | int == 3 %}
false
{% elif is_state('input_boolean.kallen_overnight','on') and (states('sensor.people_sleeping_total') | int == 2) %}