mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-09 10:26:52 +00:00
Update automation_sun.markdown (#588)
Correction for condition. Use condition instead of platform.
This commit is contained in:
parent
2b1efb85b1
commit
cc50b21b0c
@ -19,7 +19,7 @@ automation:
|
|||||||
event: sunset
|
event: sunset
|
||||||
offset: "-00:45:00"
|
offset: "-00:45:00"
|
||||||
condition:
|
condition:
|
||||||
platform: state
|
condition: state
|
||||||
entity_id: group.all_devices
|
entity_id: group.all_devices
|
||||||
state: home
|
state: home
|
||||||
action:
|
action:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user