[pre-commit.ci lite] apply automatic fixes

This commit is contained in:
pre-commit-ci-lite[bot]
2025-01-10 07:38:46 +00:00
committed by GitHub
parent cc758bfdbe
commit 010ff02ebf

View File

@@ -164,7 +164,7 @@ class NearbyOfflineFindingDevice(OfflineFindingDevice):
self.detected_at + timedelta(hours=1),
)
return any(self.is_from(key) for key in potential_keys)
msg = f"Cannot compare against {type(other_device)}"
raise ValueError(msg)