Noisy beacons device configuration should look both at manufacturer and model.

This commit is contained in:
Fabio Manganiello 2023-03-22 22:37:46 +01:00
parent f49b866a51
commit 65bc3ae06d
Signed by untrusted user: blacklight
GPG key ID: D90FBA7F76362774

View file

@ -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