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:
parent
e05b408b9d
commit
1dd95ed15f
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue