Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.lcn Namespace Reference

Namespaces

 binary_sensor
 
 climate
 
 config_flow
 
 const
 
 cover
 
 device_trigger
 
 entity
 
 helpers
 
 light
 
 scene
 
 schemas
 
 sensor
 
 services
 
 switch
 
 websocket
 

Functions

None _async_fire_access_control_event (HomeAssistant hass, dr.DeviceEntry device, AddressType address, InputType inp)
 
None _async_fire_send_keys_event (HomeAssistant hass, dr.DeviceEntry device, AddressType address, InputType inp)
 
None async_host_input_received (HomeAssistant hass, ConfigEntry config_entry, dr.DeviceRegistry device_registry, pypck.inputs.Input inp)
 
bool async_migrate_entry (HomeAssistant hass, ConfigEntry config_entry)
 
bool async_setup (HomeAssistant hass, ConfigType config)
 
bool async_setup_entry (HomeAssistant hass, ConfigEntry config_entry)
 
bool async_unload_entry (HomeAssistant hass, ConfigEntry config_entry)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
 CONFIG_SCHEMA = cv.config_entry_only_config_schema(DOMAIN)
 

Detailed Description

Support for LCN devices.

Function Documentation

◆ _async_fire_access_control_event()

None homeassistant.components.lcn._async_fire_access_control_event ( HomeAssistant  hass,
dr.DeviceEntry  device,
AddressType  address,
InputType   inp 
)
private
Fire access control event (transponder, transmitter, fingerprint, codelock).

Definition at line 205 of file __init__.py.

◆ _async_fire_send_keys_event()

None homeassistant.components.lcn._async_fire_send_keys_event ( HomeAssistant  hass,
dr.DeviceEntry  device,
AddressType  address,
InputType   inp 
)
private
Fire send_keys event.

Definition at line 227 of file __init__.py.

◆ async_host_input_received()

None homeassistant.components.lcn.async_host_input_received ( HomeAssistant  hass,
ConfigEntry  config_entry,
dr.DeviceRegistry  device_registry,
pypck.inputs.Input  inp 
)
Process received input object (command) from LCN bus.

Definition at line 177 of file __init__.py.

◆ async_migrate_entry()

bool homeassistant.components.lcn.async_migrate_entry ( HomeAssistant  hass,
ConfigEntry  config_entry 
)
Migrate old entry.

Definition at line 127 of file __init__.py.

◆ async_setup()

bool homeassistant.components.lcn.async_setup ( HomeAssistant  hass,
ConfigType  config 
)
Set up the LCN component.

Definition at line 53 of file __init__.py.

◆ async_setup_entry()

bool homeassistant.components.lcn.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  config_entry 
)
Set up a connection to PCHK host from a config entry.

Definition at line 63 of file __init__.py.

◆ async_unload_entry()

bool homeassistant.components.lcn.async_unload_entry ( HomeAssistant  hass,
ConfigEntry  config_entry 
)
Close connection to PCHK host represented by config_entry.

Definition at line 163 of file __init__.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.lcn._LOGGER = logging.getLogger(__name__)
private

Definition at line 48 of file __init__.py.

◆ CONFIG_SCHEMA

homeassistant.components.lcn.CONFIG_SCHEMA = cv.config_entry_only_config_schema(DOMAIN)

Definition at line 50 of file __init__.py.