From 16a1c5b9b12921cf43b6b7c7e26fcf64e29f8fa6 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Thu, 2 Jul 2020 14:25:03 +0200 Subject: [PATCH] Fix typo condition examples in 0.112 release notes (#13889) --- source/_posts/2020-07-01-release-112.markdown | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/source/_posts/2020-07-01-release-112.markdown b/source/_posts/2020-07-01-release-112.markdown index 6f6edd46061..84f3a0f6985 100644 --- a/source/_posts/2020-07-01-release-112.markdown +++ b/source/_posts/2020-07-01-release-112.markdown @@ -102,13 +102,13 @@ So this: ```yaml condition: - - platform: state + - condition: state entity_id: light.kitchen state: 'on' - - platform: state + - condition: state entity_id: light.living_room state: 'on' - - platform: state + - condition: state entity_id: light.office state: 'on' ``` @@ -117,7 +117,7 @@ Can now be shortened to this: ```yaml condition: - - platform: state + - condition: state entity_id: - light.kitchen - light.living_room @@ -129,7 +129,7 @@ An example that tests if the alarm is in any of the specified states: ```yaml condition: - - platform: state + - condition: state entity_id: alarm_control_panel.home state: - armed_home @@ -141,7 +141,7 @@ And this condition is now also passing when Frenck is at home or at work ```yaml condition: - - platform: zone + - condition: zone entity_id: device_tracker.frenck zone: - zone.home