From 043022647ffc7c9ef9b0ffb8c0059a886fa3a29e Mon Sep 17 00:00:00 2001 From: Carlo Costanzo Date: Tue, 7 Feb 2017 14:41:48 -0500 Subject: [PATCH] Add in to and from I think due to the rapid changes/reporting of states, a clear delimiter is needed for examples. --- source/_cookbook/dim_lights_when_playing_media.markdown | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/_cookbook/dim_lights_when_playing_media.markdown b/source/_cookbook/dim_lights_when_playing_media.markdown index 55fe9413b59..89a7700f512 100644 --- a/source/_cookbook/dim_lights_when_playing_media.markdown +++ b/source/_cookbook/dim_lights_when_playing_media.markdown @@ -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