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