From 3c67c58e4843b752ce4f54b06675cafafe69f514 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Thu, 10 Sep 2020 20:39:29 +0200 Subject: [PATCH] Fix state trigger attribute example (#14461) --- source/_docs/automation/trigger.markdown | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/_docs/automation/trigger.markdown b/source/_docs/automation/trigger.markdown index 739c998b542..4e68b9d9ba5 100644 --- a/source/_docs/automation/trigger.markdown +++ b/source/_docs/automation/trigger.markdown @@ -217,7 +217,8 @@ automation: platform: state entity_id: climate.living_room attribute: hvac_action - state: "heating" + to: "heating" + for: "00:10:00" ``` You can also use templates in the `for` option.