mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
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:
parent
f8a1c05704
commit
95139048c2
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user