From 34a97542d977a415c5ecab977054eab8f49b0177 Mon Sep 17 00:00:00 2001 From: Chris Browet Date: Mon, 2 Aug 2021 12:40:34 +0200 Subject: [PATCH] FIX: It's "trace:", not "traces:" (#18683) Not actually sure if it's a doc or code bug, but "traces:" is refused while "trace:" works --- source/_docs/automation/yaml.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/_docs/automation/yaml.markdown b/source/_docs/automation/yaml.markdown index 36c3368ebcf..3d0ad65144b 100644 --- a/source/_docs/automation/yaml.markdown +++ b/source/_docs/automation/yaml.markdown @@ -118,12 +118,12 @@ automation: ### Number of debug traces stored -When using YAML you can configure the number of debugging traces stored for an automation. This is controlled with the `stored_traces` option under `traces`. Set `stored_traces` to the number of traces you wish to store for the particular automation. If not specified the default value of 5 will be used. +When using YAML you can configure the number of debugging traces stored for an automation. This is controlled with the `stored_traces` option under `trace`. Set `stored_traces` to the number of traces you wish to store for the particular automation. If not specified the default value of 5 will be used. ```yaml automation: - alias: "Automation Name" - traces: + trace: stored_traces: 10 trigger: - platform: ...