Home Assistant Unofficial Reference 2024.12.1
lock.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.components.homekit_controller.lock.HomeKitLock
 

Namespaces

 homeassistant.components.homekit_controller.lock
 

Functions

None homeassistant.components.homekit_controller.lock.async_setup_entry (HomeAssistant hass, ConfigEntry config_entry, AddEntitiesCallback async_add_entities)
 

Variables

dictionary homeassistant.components.homekit_controller.lock.CURRENT_STATE_MAP
 
dictionary homeassistant.components.homekit_controller.lock.REVERSED_TARGET_STATE_MAP = {v: k for k, v in TARGET_STATE_MAP.items()}
 
dictionary homeassistant.components.homekit_controller.lock.TARGET_STATE_MAP = {LockState.UNLOCKED: 0, LockState.LOCKED: 1}