From 90f35b35cd4220bbcfe614a22f2502b29f15a99d Mon Sep 17 00:00:00 2001 From: Jon Maddox Date: Thu, 24 Sep 2015 00:20:17 -0400 Subject: [PATCH] moar derp --- homeassistant/helpers/state.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: