Added instruction for where to play weather alerts

This commit is contained in:
2023-09-06 12:05:53 -04:00
parent 1d46f64821
commit bd90d552ad

View File

@ -342,6 +342,15 @@ template:
{% else %} {% else %}
true true
{% endif %} {% endif %}
attributes:
location: >
{% if is_state('binary_sensor.basement_occupied','on') and is_state('input_boolean.master_bedroom_sleeping','on') %}
basement
{% elif is_state('binary_sensor.people_sleeping','off') %}
everywhere
{% else %}
common
{% endif %}
- sensor: - sensor:
- name: Current Forecast - name: Current Forecast
unique_id: c0faea33-2ac3-40f1-8558-584c3f5d6b16 unique_id: c0faea33-2ac3-40f1-8558-584c3f5d6b16