瀏覽代碼

Add missing event trigger

Joachim M. Giæver 1 年之前
父節點
當前提交
2d7a0bbde1
共有 1 個文件被更改,包括 4 次插入0 次删除
  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: