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

Classes

class  DemoLock
 

Functions

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

Variables

int LOCK_UNLOCK_DELAY = 2
 

Detailed Description

Demo lock platform that implements locks.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.demo.lock.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  config_entry,
AddEntitiesCallback  async_add_entities 
)
Set up the Demo config entry.

Definition at line 16 of file lock.py.

Variable Documentation

◆ LOCK_UNLOCK_DELAY

int homeassistant.components.demo.lock.LOCK_UNLOCK_DELAY = 2

Definition at line 13 of file lock.py.