Skip to content

Commit

Permalink
Prevent warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
starkillerOG authored Feb 24, 2024
1 parent cbdab55 commit 80aa154
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion motionblinds/motion_blinds.py
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ def multicast_callback(self, message):
for callback in self._registered_callbacks.values():
callback()
if mac not in self.device_list:
if self.device_list:
if self.device_list and mac != self._gateway_mac:
_LOGGER.warning(
"Multicast push with mac '%s' not in device_list, message: '%s'",
mac,
Expand Down

0 comments on commit 80aa154

Please sign in to comment.