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

Namespaces

 binary_sensor
 
 button
 
 climate
 
 config_flow
 
 const
 
 cover
 
 diagnostics
 
 entity
 
 light
 
 select
 
 sensor
 
 switch
 

Functions

None _migrate_device_identifiers (HomeAssistant hass, str entry_id)
 
bool async_migrate_entry (HomeAssistant hass, ConfigEntry config_entry)
 
None async_remove_entry (HomeAssistant hass, ConfigEntry entry)
 
bool async_setup_entry (HomeAssistant hass, ConfigEntry entry)
 
bool async_unload_entry (HomeAssistant hass, ConfigEntry entry)
 
None velbus_connect_task (Velbus controller, HomeAssistant hass, str entry_id)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
list PLATFORMS
 

Detailed Description

Support for Velbus devices.

Function Documentation

◆ _migrate_device_identifiers()

None homeassistant.components.velbus._migrate_device_identifiers ( HomeAssistant  hass,
str  entry_id 
)
private
Migrate old device identifiers.

Definition at line 56 of file __init__.py.

◆ async_migrate_entry()

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

Definition at line 204 of file __init__.py.

◆ async_remove_entry()

None homeassistant.components.velbus.async_remove_entry ( HomeAssistant  hass,
ConfigEntry  entry 
)
Remove the velbus entry, so we also have to cleanup the cache dir.

Definition at line 196 of file __init__.py.

◆ async_setup_entry()

bool homeassistant.components.velbus.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  entry 
)
Establish connection with velbus.

Definition at line 70 of file __init__.py.

◆ async_unload_entry()

bool homeassistant.components.velbus.async_unload_entry ( HomeAssistant  hass,
ConfigEntry  entry 
)
Unload (close) the velbus connection.

Definition at line 182 of file __init__.py.

◆ velbus_connect_task()

None homeassistant.components.velbus.velbus_connect_task ( Velbus  controller,
HomeAssistant  hass,
str   entry_id 
)
Task to offload the long running connect.

Definition at line 44 of file __init__.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 30 of file __init__.py.

◆ PLATFORMS

list homeassistant.components.velbus.PLATFORMS
Initial value:
1 = [
2  Platform.BINARY_SENSOR,
3  Platform.BUTTON,
4  Platform.CLIMATE,
5  Platform.COVER,
6  Platform.LIGHT,
7  Platform.SELECT,
8  Platform.SENSOR,
9  Platform.SWITCH,
10 ]

Definition at line 32 of file __init__.py.