diff --git a/blueprints/camera_motion_summary.yaml b/blueprints/camera_motion_summary.yaml index 78faf09..3880128 100644 --- a/blueprints/camera_motion_summary.yaml +++ b/blueprints/camera_motion_summary.yaml @@ -123,9 +123,10 @@ action: domain: mobile_app type: notify device_id: !input notify_device - title: '{{ trigger.entity_id.replace("camera.", "").replace("_", " ")|capitalize }} detected motion' - message: "{{ response.response_text }}" - data: + title: "Motion detected" + message: '{{ trigger.entity_id.replace("camera.", "").replace("_", " ")|capitalize }}' + data: + image: "{{'/api/camera_proxy/' + trigger.entity_id}}" tag: "{{tag}}" group: "{{group}}" @@ -155,5 +156,6 @@ action: data: tag: "{{tag}}" group: "{{group}}" + image: "{{'/api/camera_proxy/' + trigger.entity_id}}" push: interruption-level: passive \ No newline at end of file