From 3325fa1a16996cf468688ffa1380f21296eac6a8 Mon Sep 17 00:00:00 2001 From: "Alan D. Tse" Date: Sun, 19 Jan 2020 17:40:55 -0800 Subject: [PATCH] fix: address push for shopping list changes Closes #534 --- custom_components/alexa_media/__init__.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/custom_components/alexa_media/__init__.py b/custom_components/alexa_media/__init__.py index 2957b156..c5125b1f 100644 --- a/custom_components/alexa_media/__init__.py +++ b/custom_components/alexa_media/__init__.py @@ -883,7 +883,10 @@ async def ws_handler(message_obj): f"{DOMAIN}_{hide_email(email)}"[0:32], {"notification_update": json_payload}, ) - elif command in ["PUSH_DELETE_DOPPLER_ACTIVITIES"]: + elif command in [ + "PUSH_DELETE_DOPPLER_ACTIVITIES", # delete Alexa history + "PUSH_LIST_ITEM_CHANGE", # update shopping list + ]: pass else: _LOGGER.warning(