Add timeout information about shutdown trigger (#26987)

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
Tudor Sandu 2023-12-27 02:23:12 -08:00 committed by GitHub
parent fb6a973894
commit 5f8125db1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -148,6 +148,12 @@ automation:
event: start
```
<div class='note'>
Automations triggered by the `shutdown` event have 20 seconds to run, after which they are stopped to continue with the shutdown.
</div>
## MQTT trigger
Fires when a specific message is received on given MQTT topic. Optionally can match on the payload being sent over the topic. The default payload encoding is 'utf-8'. For images and other byte payloads use `encoding: ''` to disable payload decoding completely.