mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-16 05:46:52 +00:00
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
@ -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…
x
Reference in New Issue
Block a user