From a2fff116448427fe8074899fff28f15364448b9a Mon Sep 17 00:00:00 2001 From: "Alan D. Tse" Date: Sun, 24 Jan 2021 12:54:46 -0800 Subject: [PATCH] fix: fix missing target devices Fix bug where the last_called media player would exit the target loop early. This would result in missing devices. closes #1138 --- custom_components/alexa_media/notify.py | 1 - 1 file changed, 1 deletion(-) diff --git a/custom_components/alexa_media/notify.py b/custom_components/alexa_media/notify.py index 11114fdd..be0b6df3 100644 --- a/custom_components/alexa_media/notify.py +++ b/custom_components/alexa_media/notify.py @@ -163,7 +163,6 @@ def targets(self): entity, ) devices[entity_name_last_called] = entity.unique_id - break return devices @property