mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-13 20:36:52 +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
|
- platform: state
|
||||||
entity_id: media_player.htpc
|
entity_id: media_player.htpc
|
||||||
from: 'playing'
|
from: 'playing'
|
||||||
|
to: 'idle'
|
||||||
condition:
|
condition:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: sun.sun
|
entity_id: sun.sun
|
||||||
@ -69,6 +70,7 @@ automation:
|
|||||||
- platform: state
|
- platform: state
|
||||||
entity_id: media_player.htpc
|
entity_id: media_player.htpc
|
||||||
to: 'playing'
|
to: 'playing'
|
||||||
|
from: 'idle'
|
||||||
condition:
|
condition:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: sun.sun
|
entity_id: sun.sun
|
||||||
|
Loading…
x
Reference in New Issue
Block a user