Add two notes to Matrix integration (#18229)

* Add two notes to Matrix integration

The second note is copied from the documentation of the telegram integration (source/_integrations/telegram.markdown)

* Tweak

* Tweak

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
235816 2021-06-24 13:48:08 +02:00 committed by GitHub
parent f8a1c05704
commit 95139048c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -82,6 +82,12 @@ commands:
default: empty
{% endconfiguration %}
<div class="note">
In order to prevent infinite loops when reacting to commands, you have to use a separate account for the Matrix integration.
</div>
### Event Data
If a command is triggered, a `matrix_command` event is fired. The event contains the name of the command in the `name` field.
@ -190,3 +196,17 @@ action:
images:
- /path/to/picture.jpg
```
<div class='note'>
If you need to include a file from an external folder in your notifications, you will have to [list the source folder as allowed](/docs/configuration/basic/).
```yaml
configuration.yaml
...
homeassistant:
allowlist_external_dirs:
- /tmp
```
</div>