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
This commit is contained in:
Ciquattro 2016-11-23 08:27:41 +01:00 committed by Fredrik Lindqvist
parent e05b408b9d
commit 1dd95ed15f

View File

@ -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