1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00
This commit is contained in:
Jon Maddox
2015-10-07 01:37:40 -04:00
parent c83324d4cf
commit 26939ce554
2 changed files with 2 additions and 1 deletions

View File

@@ -65,7 +65,7 @@ def reproduce_state(hass, states, blocking=False):
service = SERVICE_MEDIA_PLAY
elif state.domain == 'media_player' and state.attributes and \
'media_type' in state.attributes and \
'media_id' in state.attributes:
'media_id' in state.attributes:
service = SERVICE_PLAY_MEDIA
elif state.state == STATE_ON:
service = SERVICE_TURN_ON