diff --git a/atom.xml b/atom.xml index 03767c7707..f995141e0c 100644 --- a/atom.xml +++ b/atom.xml @@ -4,7 +4,7 @@
Test multiple conditions in 1 condition statement. Passes if any embedded conditions is valid.
+ +condition: or +conditions: + - condition: state + entity_id: 'device_tracker.paulus' + state: 'home' + - condition: numeric_state + entity_id: 'sensor.temperature' + below: '20' +
Test multiple AND and OR conditions in 1 condition statement. Passes if any embedded conditions is valid.
+This allows you to mix several AND and OR conditions together.
condition: and +conditions: + - condition: state + entity_id: 'device_tracker.paulus' + state: 'home' + - condition: or + conditions: + - condition: state + entity_id: sensor.weather_precip + state: 'rain' + - condition: numeric_state + entity_id: 'sensor.temperature' + below: '20' +
This type of condition attempts to parse the state of specified entity as a number and triggers if the value matches all of the above or below thresholds.
@@ -127,23 +167,6 @@ -Test multiple conditions in 1 condition statement. Passes if any embedded conditions is valid.
- -condition: or -conditions: - - condition: state - entity_id: 'device_tracker.paulus' - state: 'home' - - condition: numeric_state - entity_id: 'sensor.temperature' - below: '20' -
Tests if an entity is a specified state.
diff --git a/sitemap.xml b/sitemap.xml index 6a955387cf..4d65098f5d 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -1613,26 +1613,26 @@