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
|
@ -372,7 +372,10 @@ DISCOVERY_SCHEMAS = [
|
|||
clusters.ColorControl.Attributes.CurrentY,
|
||||
clusters.ColorControl.Attributes.ColorTemperatureMireds,
|
||||
),
|
||||
# restrict device type to prevent discovery in switch platform
|
||||
not_device_type=(device_types.OnOffPlugInUnit,),
|
||||
# restrict device type to prevent discovery by the wrong platform
|
||||
not_device_type=(
|
||||
device_types.OnOffPlugInUnit,
|
||||
device_types.DoorLock,
|
||||
),
|
||||
),
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue