Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.matter.lock Namespace Reference

Classes

class  MatterLock
 

Functions

None async_setup_entry (HomeAssistant hass, ConfigEntry config_entry, AddEntitiesCallback async_add_entities)
 

Variables

list DISCOVERY_SCHEMAS
 
 DoorLockFeature = clusters.DoorLock.Bitmaps.Feature
 

Detailed Description

Matter lock.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.matter.lock.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  config_entry,
AddEntitiesCallback  async_add_entities 
)
Set up Matter lock from Config Entry.

Definition at line 28 of file lock.py.

Variable Documentation

◆ DISCOVERY_SCHEMAS

list homeassistant.components.matter.lock.DISCOVERY_SCHEMAS
Initial value:
1 = [
2  MatterDiscoverySchema(
3  platform=Platform.LOCK,
4  entity_description=LockEntityDescription(
5  key="MatterLock",
6  name=None,
7  ),
8  entity_class=MatterLock,
9  required_attributes=(clusters.DoorLock.Attributes.LockState,),
10  ),
11 ]

Definition at line 200 of file lock.py.

◆ DoorLockFeature

homeassistant.components.matter.lock.DoorLockFeature = clusters.DoorLock.Bitmaps.Feature

Definition at line 25 of file lock.py.