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:
Carlo Costanzo 2017-02-07 14:41:48 -05:00 committed by GitHub
parent f821cf2900
commit 043022647f

View File

@ -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