mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 19:57:07 +00:00
derp
This commit is contained in:
parent
1674c8309a
commit
4a8bbc52e0
@ -60,7 +60,7 @@ def reproduce_state(hass, states, blocking=False):
|
|||||||
service = 'media_pause'
|
service = 'media_pause'
|
||||||
elif state.domain == 'media_player' and state == STATE_PLAYING:
|
elif state.domain == 'media_player' and state == STATE_PLAYING:
|
||||||
service = 'media_play'
|
service = 'media_play'
|
||||||
elif
|
else
|
||||||
if state.state == STATE_ON:
|
if state.state == STATE_ON:
|
||||||
service = SERVICE_TURN_ON
|
service = SERVICE_TURN_ON
|
||||||
elif state.state == STATE_OFF:
|
elif state.state == STATE_OFF:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user