mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 22:27:07 +00:00
Change discovery schema for Matter Identify button to ignore type of None (#136621)
This commit is contained in:
parent
679b7f4032
commit
b9c3548b5a
@ -67,8 +67,8 @@ DISCOVERY_SCHEMAS = [
|
|||||||
command=lambda: clusters.Identify.Commands.Identify(identifyTime=15),
|
command=lambda: clusters.Identify.Commands.Identify(identifyTime=15),
|
||||||
),
|
),
|
||||||
entity_class=MatterCommandButton,
|
entity_class=MatterCommandButton,
|
||||||
required_attributes=(clusters.Identify.Attributes.AcceptedCommandList,),
|
required_attributes=(clusters.Identify.Attributes.IdentifyType,),
|
||||||
value_contains=clusters.Identify.Commands.Identify.command_id,
|
value_is_not=clusters.Identify.Enums.IdentifyTypeEnum.kNone,
|
||||||
allow_multi=True,
|
allow_multi=True,
|
||||||
),
|
),
|
||||||
MatterDiscoverySchema(
|
MatterDiscoverySchema(
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user