Fix ZHA quirk ID custom entities matching all devices (#105184)

This commit is contained in:
TheJulianJES
2023-12-07 07:15:31 +01:00
committed by GitHub
parent 16f6a57924
commit 9181933619

View File

@@ -253,7 +253,7 @@ class MatchRule:
else:
matches.append(model in self.models)
if self.quirk_ids and quirk_id:
if self.quirk_ids:
if callable(self.quirk_ids):
matches.append(self.quirk_ids(quirk_id))
else: