pull/437/head
Jon Maddox 2015-09-24 00:15:36 -04:00
parent 1674c8309a
commit 4a8bbc52e0
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ def reproduce_state(hass, states, blocking=False):
service = 'media_pause'
elif state.domain == 'media_player' and state == STATE_PLAYING:
service = 'media_play'
elif
else
if state.state == STATE_ON:
service = SERVICE_TURN_ON
elif state.state == STATE_OFF: