Skip to content

Commit

Permalink
Update nws_alerts_package_new_version.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
finity69x2 authored Sep 7, 2024
1 parent b7749e5 commit 6234359
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions packages/nws_alerts_package_new_version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,17 @@ automation:
################################# SCRIPT ###################################
script:
nws_alerts_persistent_notification:
alias: NWS Alerts Persistent Notifications
sequence:
- service: >
{% if states('sensor.nws_alerts') != '0' %}
persistent_notification.create
{% endif %}
data:
notification_id: "{{ notification_id }}"
message: "{{ message }}"
title: '{{ title }}'
nws_alerts_announce_tornado_warning:
alias: NWS Alerts Announce Tornado Warning
Expand Down

0 comments on commit 6234359

Please sign in to comment.