From 87db5ca5f39ca83c52ae76e14d34db3b96798b9c Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Wed, 26 Apr 2023 14:17:59 +0200 Subject: [PATCH] Exclude all iBeacon devices by default (it's not only Apple, it's everyone) --- platypush/plugins/bluetooth/_ble/_event_handler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platypush/plugins/bluetooth/_ble/_event_handler.py b/platypush/plugins/bluetooth/_ble/_event_handler.py index 4b206cbd11..08ef1e94ed 100644 --- a/platypush/plugins/bluetooth/_ble/_event_handler.py +++ b/platypush/plugins/bluetooth/_ble/_event_handler.py @@ -191,8 +191,8 @@ class EventHandler: """ Check if the beacon received from the given device should be skipped. """ - # Exclude Apple iBeacons - if device.manufacturer == 'Apple, Inc.' and device.model == 'iBeacon': + # Exclude iBeacons + if device.model == 'iBeacon': return True # "Noisy" beacon devices usually have no associated friendly name. If a