New speech engine message type for weather alerts #89
This commit is contained in:
@ -131,6 +131,18 @@ template:
|
||||
device_class: safety
|
||||
attributes:
|
||||
current_strikes: "{{ states('sensor.blitzortung_lightning_counter') | int }}"
|
||||
- name: "Audible Weather Alerts Allowed"
|
||||
unique_id: 03851823-32d5-44c1-af42-256fcd922069
|
||||
state: >
|
||||
{% if is_state('input_boolean.audible_notifications','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) %}
|
||||
false
|
||||
{% else %}
|
||||
true
|
||||
{% endif %}
|
||||
|
||||
sensor:
|
||||
- platform: weatheralerts
|
||||
|
Reference in New Issue
Block a user