Add door lock device type to matter integration (#89277)
* Adds base code for matter lock * Adds basic matter door lock support * Adds matter lock fixture * Adds tests for matter lock * Addresses feedback * Added logic to handle inter states of matter lock * Addesses feedback
This commit is contained in:
parent
cbe85126cb
commit
5e5ace9c4e
6 changed files with 769 additions and 5 deletions
|
@ -67,8 +67,11 @@ DISCOVERY_SCHEMAS = [
|
|||
),
|
||||
entity_class=MatterSwitch,
|
||||
required_attributes=(clusters.OnOff.Attributes.OnOff,),
|
||||
# restrict device type to prevent discovery by light
|
||||
# platform which also uses OnOff cluster
|
||||
not_device_type=(device_types.OnOffLight, device_types.DimmableLight),
|
||||
# restrict device type to prevent discovery by the wrong platform
|
||||
not_device_type=(
|
||||
device_types.OnOffLight,
|
||||
device_types.DimmableLight,
|
||||
device_types.DoorLock,
|
||||
),
|
||||
),
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue