diff --git a/source/_docs/scripts.markdown b/source/_docs/scripts.markdown index 7c5813f1dfb..98dd5df48ee 100644 --- a/source/_docs/scripts.markdown +++ b/source/_docs/scripts.markdown @@ -96,8 +96,8 @@ While executing a script you can add a condition to stop further execution. When ```yaml # If paulus is home, continue to execute the script below these lines - alias: "Check if Paulus is home" -- condition: state +- alias: "Check if Paulus is home" + condition: state entity_id: device_tracker.paulus state: "home" ```