Change discovery schema for Matter Identify button to ignore type of None (#136621)

This commit is contained in:
Marcel van der Veldt 2025-01-27 16:42:22 +01:00 committed by GitHub
parent 679b7f4032
commit b9c3548b5a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 28 additions and 1250 deletions

View File

@ -67,8 +67,8 @@ DISCOVERY_SCHEMAS = [
command=lambda: clusters.Identify.Commands.Identify(identifyTime=15),
),
entity_class=MatterCommandButton,
required_attributes=(clusters.Identify.Attributes.AcceptedCommandList,),
value_contains=clusters.Identify.Commands.Identify.command_id,
required_attributes=(clusters.Identify.Attributes.IdentifyType,),
value_is_not=clusters.Identify.Enums.IdentifyTypeEnum.kNone,
allow_multi=True,
),
MatterDiscoverySchema(

File diff suppressed because it is too large Load Diff