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: blacklight
GPG Key ID: D90FBA7F76362774
1 changed files with 4 additions and 1 deletions

View File

@ -183,7 +183,10 @@ class EventHandler:
return False
# 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
# If the device has any children other than services, don't skip it