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
This commit is contained in:
Chris Browet 2021-08-02 12:40:34 +02:00 committed by GitHub
parent fa480e793e
commit 34a97542d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: ...