mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-13 12:26:50 +00:00
Add in to and from
I think due to the rapid changes/reporting of states, a clear delimiter is needed for examples.
This commit is contained in:
parent
f821cf2900
commit
043022647f
@ -56,6 +56,7 @@ automation:
|
||||
- platform: state
|
||||
entity_id: media_player.htpc
|
||||
from: 'playing'
|
||||
to: 'idle'
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: sun.sun
|
||||
@ -69,6 +70,7 @@ automation:
|
||||
- platform: state
|
||||
entity_id: media_player.htpc
|
||||
to: 'playing'
|
||||
from: 'idle'
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: sun.sun
|
||||
|
Loading…
x
Reference in New Issue
Block a user