diff --git a/homeassistant/helpers/state.py b/homeassistant/helpers/state.py index c62e57bee36..1de6e7d367b 100644 --- a/homeassistant/helpers/state.py +++ b/homeassistant/helpers/state.py @@ -61,7 +61,7 @@ def reproduce_state(hass, states, blocking=False): service = SERVICE_MEDIA_PAUSE elif state.domain == 'media_player' and state == STATE_PLAYING: service = SERVICE_MEDIA_PLAY - else + else: if state.state == STATE_ON: service = SERVICE_TURN_ON elif state.state == STATE_OFF: