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

Classes

class  ZhaDoorLock
 

Functions

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

Variables

string SERVICE_CLEAR_LOCK_USER_CODE = "clear_lock_user_code"
 
string SERVICE_DISABLE_LOCK_USER_CODE = "disable_lock_user_code"
 
string SERVICE_ENABLE_LOCK_USER_CODE = "enable_lock_user_code"
 
string SERVICE_SET_LOCK_USER_CODE = "set_lock_user_code"
 

Detailed Description

Locks on Zigbee Home Automation networks.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.zha.lock.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  config_entry,
AddEntitiesCallback  async_add_entities 
)
Set up the Zigbee Home Automation Door Lock from config entry.

Definition at line 33 of file lock.py.

Variable Documentation

◆ SERVICE_CLEAR_LOCK_USER_CODE

string homeassistant.components.zha.lock.SERVICE_CLEAR_LOCK_USER_CODE = "clear_lock_user_code"

Definition at line 30 of file lock.py.

◆ SERVICE_DISABLE_LOCK_USER_CODE

string homeassistant.components.zha.lock.SERVICE_DISABLE_LOCK_USER_CODE = "disable_lock_user_code"

Definition at line 29 of file lock.py.

◆ SERVICE_ENABLE_LOCK_USER_CODE

string homeassistant.components.zha.lock.SERVICE_ENABLE_LOCK_USER_CODE = "enable_lock_user_code"

Definition at line 28 of file lock.py.

◆ SERVICE_SET_LOCK_USER_CODE

string homeassistant.components.zha.lock.SERVICE_SET_LOCK_USER_CODE = "set_lock_user_code"

Definition at line 27 of file lock.py.