Browse Source

Add missing event trigger

Joachim M. Giæver 1 year ago
parent
commit
2d7a0bbde1
1 changed files with 4 additions and 0 deletions
  1. 4 0
      script/notify_user.yaml

+ 4 - 0
script/notify_user.yaml

@@ -263,6 +263,10 @@ sequence:
                           - mobile_app_notification_cleared
                         event_data:
                           device_id: "{{ device_id }}"
+                      - platform: event
+                        event_type: 'context_notification_clear'
+                        event_data:
+                          context: "{{ context.id }}"
                   else:
                     alias: "Wait for app event, with timeout"
                     wait_for_trigger: