Fixed some notification clearing calls

This commit is contained in:
2023-03-09 16:11:36 -05:00
parent 6c884d6966
commit e88b4b2505
4 changed files with 6 additions and 12 deletions

View File

@ -467,8 +467,7 @@
type: alert type: alert
who: all who: all
message: clear_notification message: clear_notification
data: tag: tornado-warning
tag: tornado-warning
alias: Clear critical notification alias: Clear critical notification
- service: input_boolean.turn_off - service: input_boolean.turn_off
data: {} data: {}

View File

@ -493,8 +493,7 @@ script:
type: alert type: alert
who: all who: all
message: "clear_notification" message: "clear_notification"
data: tag: skip-away
tag: skip-away
- if: - if:
- condition: template - condition: template
value_template: "{{ is_state('input_boolean.away_mode_skipped','on') or is_state('group.adults','home') }}" value_template: "{{ is_state('input_boolean.away_mode_skipped','on') or is_state('group.adults','home') }}"

View File

@ -323,8 +323,7 @@ automation:
type: alert type: alert
who: all who: all
message: clear_notification message: clear_notification
data: tag: lockdown-issue
tag: lockdown-issue
- service: persistent_notification.dismiss - service: persistent_notification.dismiss
data: data:
notification_id: lockdown_issue notification_id: lockdown_issue

View File

@ -1565,8 +1565,7 @@ automation:
type: alert type: alert
who: all who: all
message: clear_notification message: clear_notification
data: tag: rain-window-warning
tag: rain-window-warning
- service: script.speech_engine - service: script.speech_engine
data: data:
who: common who: common
@ -1580,8 +1579,7 @@ automation:
type: alert type: alert
who: all who: all
message: clear_notification message: clear_notification
data: tag: rain-window-warning
tag: rain-window-warning
- service: script.speech_engine - service: script.speech_engine
data: data:
who: common who: common
@ -1667,8 +1665,7 @@ script:
type: alert type: alert
who: all who: all
message: clear_notification message: clear_notification
data: tag: lightning-warning
tag: lightning-warning
- service: script.status_annc - service: script.status_annc
data: data:
who: 'common' who: 'common'