Documentation update for Signal Messenger integration for adding URL attachment support (#20762)

Co-authored-by: Ian Byrne <ian.byrne@burnsie.com.au>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
Alan Byrne 2022-01-19 17:50:05 +00:00 committed by GitHub
parent 84dbd39892
commit 2cdd35498b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -90,3 +90,21 @@ action:
attachments:
- "/tmp/surveillance_camera.jpg"
```
### Text message with an attachment from a URL
To attach files from outside of HomeAssistant, the URLs must be added to the [`allowlist_external_urls`](/docs/configuration/basic/#allowlist_external_urls) list.
Note there is a 50MB size limit for attachments retrieved via URLs. You can also set `verify_ssl` to `false` to ignore SSL errors (default `true`).
```yaml
...
action:
service: notify.NOTIFIER_NAME
data:
message: "Person detected on Front Camera!"
data:
verify_ssl: false
urls:
- "http://homeassistant.local/api/frigate/notifications/<event-id>/thumbnail.jpg"
```