mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 04:35:11 +02:00
Fix ZHA quirk ID custom entities matching all devices (#105184)
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user