mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Fix ZHA quirk ID custom entities matching all devices (#105184)
This commit is contained in:
parent
16f6a57924
commit
9181933619
@ -253,7 +253,7 @@ class MatchRule:
|
|||||||
else:
|
else:
|
||||||
matches.append(model in self.models)
|
matches.append(model in self.models)
|
||||||
|
|
||||||
if self.quirk_ids and quirk_id:
|
if self.quirk_ids:
|
||||||
if callable(self.quirk_ids):
|
if callable(self.quirk_ids):
|
||||||
matches.append(self.quirk_ids(quirk_id))
|
matches.append(self.quirk_ids(quirk_id))
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user