forked from platypush/platypush
Exclude all iBeacon devices by default (it's not only Apple, it's everyone)
This commit is contained in:
parent
7685521e2b
commit
87db5ca5f3
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue