Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 105566

Add image to mail notification not working

$
0
0

Hi all,

I have the problem to add an image to a mail notification

This is the YAML. I send a mail to my Gmail account on an IOS device. The mail is received, but without attachment. I checked, and the file is saved in the correct location. What I’m doing wrong?

alias: Nieuwe automatisering
description: “”
trigger:

  • platform: state
    entity_id:
    • binary_sensor.ip_camera_field_detection
      from: null
      to: “on”
      condition:
      action:
  • service: camera.snapshot
    data:
    filename: /config/www/tmp/voordeur.jpg
    enabled: true
    target:
    entity_id: camera.192_168_0_12
  • delay:
    hours: 0
    minutes: 0
    seconds: 2
    milliseconds: 0
    enabled: true
  • service: notify.xxxxxx_gmail_com
    metadata: {}
    data:
    message: test
    title: test
    target: xxxxxxx@gmail.com
    data:
    image: /config/local/tmp/voordeur.jpg
    mode: single

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 105566

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>