Skip to content

Commit

Permalink
fix: add processing of PUSH_EQUALIZER_STATE_CHANGE
Browse files Browse the repository at this point in the history
  • Loading branch information
alandtse committed Oct 12, 2019
1 parent 9ee9f87 commit c123226
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion custom_components/alexa_media/__init__.py
Expand Up @@ -714,7 +714,8 @@ async def ws_handler(message_obj):
hass.bus.async_fire(
f'{DOMAIN}_{hide_email(email)}'[0:32],
{'player_state': json_payload})
elif command == 'PUSH_DOPPLER_CONNECTION_CHANGE':
elif command in ('PUSH_DOPPLER_CONNECTION_CHANGE',
'PUSH_EQUALIZER_STATE_CHANGE'):
# Player availability update
if (serial and serial in existing_serials):
_LOGGER.debug("Updating media_player availability %s",
Expand Down

0 comments on commit c123226

Please sign in to comment.