Skip to content

Commit

Permalink
fix(bluetooth): bug where bluetooth state not properly updated
Browse files Browse the repository at this point in the history
  • Loading branch information
alandtse committed Aug 31, 2019
1 parent e622497 commit c5da965
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/alexa_media/__init__.py
Expand Up @@ -467,7 +467,7 @@ async def update_bluetooth_state(login_obj, device_serial):
for b_state in bluetooth['bluetoothStates']:
if device_serial == b_state['deviceSerialNumber']:
device['bluetooth_state'] = b_state
return device['bluetooth_state']
return device['bluetooth_state']
return None

async def last_call_handler(call):
Expand Down

0 comments on commit c5da965

Please sign in to comment.