moar derp

This commit is contained in:
Jon Maddox 2015-09-24 00:20:17 -04:00
parent 082920abe0
commit 90f35b35cd

View File

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