From d703e355c9bcb998289003b1bbc4480761a756c3 Mon Sep 17 00:00:00 2001 From: DubhAd Date: Sat, 15 Dec 2018 10:34:57 +0000 Subject: [PATCH] Fixing the numeric state examples (#7853) There's a bunch of copy/paste numeric state conditions that have quotes around them, when they shouldn't --- source/_docs/scripts/conditions.markdown | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/_docs/scripts/conditions.markdown b/source/_docs/scripts/conditions.markdown index 6efb7b4b771..32ed35a628d 100644 --- a/source/_docs/scripts/conditions.markdown +++ b/source/_docs/scripts/conditions.markdown @@ -25,7 +25,7 @@ condition: state: 'home' - condition: numeric_state entity_id: 'sensor.temperature' - below: '20' + below: 20 ``` If you do not want to combine AND and OR conditions, you can also just list them sequentially, by default all conditions have to be true. @@ -38,7 +38,7 @@ condition: state: 'home' - condition: numeric_state entity_id: 'sensor.temperature' - below: '20' + below: 20 ``` Currently you need to format your conditions like this to be able to edit them using the [automations editor](/docs/automation/editor/). @@ -56,7 +56,7 @@ condition: state: 'home' - condition: numeric_state entity_id: 'sensor.temperature' - below: '20' + below: 20 ``` ### {% linkable_title MIXED AND and OR conditions %} @@ -78,7 +78,7 @@ condition: state: 'rain' - condition: numeric_state entity_id: 'sensor.temperature' - below: '20' + below: 20 ``` ### {% linkable_title Numeric state condition %}