forked from platypush/platypush
Noisy beacons device configuration should look both at manufacturer and model.
This commit is contained in:
parent
f49b866a51
commit
65bc3ae06d
1 changed files with 4 additions and 1 deletions
|
@ -183,7 +183,10 @@ class EventHandler:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
# If the manufacturer is in the excluded list, we should skip it
|
# If the manufacturer is in the excluded list, we should skip it
|
||||||
if device.manufacturer in _excluded_manufacturers:
|
if (
|
||||||
|
device.manufacturer in _excluded_manufacturers
|
||||||
|
or device.model in _excluded_manufacturers
|
||||||
|
):
|
||||||
return True
|
return True
|
||||||
|
|
||||||
# If the device has any children other than services, don't skip it
|
# If the device has any children other than services, don't skip it
|
||||||
|
|
Loading…
Reference in a new issue