Merge pull request #1993 from CCOSTAN/patch-33

Add in to and from
This commit is contained in:
Daniel Høyer Iversen 2017-02-08 14:38:49 +01:00 committed by GitHub
commit 06380c6a34

View File

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