From 5f8125db1f20c66c2a6c28900095ee9fad2b0f43 Mon Sep 17 00:00:00 2001 From: Tudor Sandu Date: Wed, 27 Dec 2023 02:23:12 -0800 Subject: [PATCH] Add timeout information about shutdown trigger (#26987) Co-authored-by: Franck Nijhof --- source/_docs/automation/trigger.markdown | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source/_docs/automation/trigger.markdown b/source/_docs/automation/trigger.markdown index e3ab87af23c..d787c2fcc33 100644 --- a/source/_docs/automation/trigger.markdown +++ b/source/_docs/automation/trigger.markdown @@ -148,6 +148,12 @@ automation: event: start ``` +
+ +Automations triggered by the `shutdown` event have 20 seconds to run, after which they are stopped to continue with the shutdown. + +
+ ## 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.