From 1dd95ed15f23a0b3e3cdef908704e19ba599c1b0 Mon Sep 17 00:00:00 2001 From: Ciquattro Date: Wed, 23 Nov 2016 08:27:41 +0100 Subject: [PATCH] modified an error on the config syntax (#1446) * modified an error on the config syntax as stated here https://home-assistant.io/getting-started/scripts-conditions/ under condition: can't set platform: time but condition: time * Update automation-examples.markdown Address feedback from @fabaff --- source/getting-started/automation-examples.markdown | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/getting-started/automation-examples.markdown b/source/getting-started/automation-examples.markdown index 6db04603a7c..ef7eea40ca7 100644 --- a/source/getting-started/automation-examples.markdown +++ b/source/getting-started/automation-examples.markdown @@ -27,10 +27,10 @@ automation: condition: # Prefix the first line of each condition configuration # with a '-'' to enter multiple - - platform: state + - condition: state entity_id: group.all_devices state: 'home' - - platform: time + - condition: time after: '16:00:00' before: '23:00:00' action: @@ -55,7 +55,7 @@ automation: zone: zone.home entity_id: device_tracker.paulus condition: - platform: time + condition: time after: '20:00' action: service: notify.notify