Home Assistant Unofficial Reference 2024.12.1
lock.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.components.template.lock.TemplateLock
 

Namespaces

 homeassistant.components.template.lock
 

Functions

list[TemplateLock] homeassistant.components.template.lock._async_create_entities (HomeAssistant hass, dict[str, Any] config)
 
None homeassistant.components.template.lock.async_setup_platform (HomeAssistant hass, ConfigType config, AddEntitiesCallback async_add_entities, DiscoveryInfoType|None discovery_info=None)
 

Variables

string homeassistant.components.template.lock.CONF_CODE_FORMAT_TEMPLATE = "code_format_template"
 
string homeassistant.components.template.lock.CONF_LOCK = "lock"
 
string homeassistant.components.template.lock.CONF_OPEN = "open"
 
string homeassistant.components.template.lock.CONF_UNLOCK = "unlock"
 
string homeassistant.components.template.lock.DEFAULT_NAME = "Template Lock"
 
bool homeassistant.components.template.lock.DEFAULT_OPTIMISTIC = False
 
 homeassistant.components.template.lock.PLATFORM_SCHEMA