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

Namespaces

 alarm_control_panel
 
 binary_sensor
 
 button
 
 climate
 
 config_flow
 
 const
 
 cover
 
 deconz_event
 
 device_trigger
 
 diagnostics
 
 entity
 
 errors
 
 fan
 
 hub
 
 light
 
 lock
 
 logbook
 
 number
 
 scene
 
 select
 
 sensor
 
 services
 
 siren
 
 switch
 
 util
 

Functions

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)
 
None async_update_master_hub (HomeAssistant hass, ConfigEntry config_entry)
 

Variables

 CONFIG_SCHEMA = cv.config_entry_only_config_schema(DOMAIN)
 

Detailed Description

Support for deCONZ devices.

Function Documentation

◆ async_setup()

bool homeassistant.components.deconz.async_setup ( HomeAssistant  hass,
ConfigType  config 
)
Set up services.

Definition at line 22 of file __init__.py.

◆ async_setup_entry()

bool homeassistant.components.deconz.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  config_entry 
)
Set up a deCONZ bridge for a config entry.

Load config, group, light and sensor data for server information.
Start websocket for push notification of state changes from deCONZ.

Definition at line 28 of file __init__.py.

◆ async_unload_entry()

bool homeassistant.components.deconz.async_unload_entry ( HomeAssistant  hass,
ConfigEntry  config_entry 
)
Unload deCONZ config entry.

Definition at line 63 of file __init__.py.

◆ async_update_master_hub()

None homeassistant.components.deconz.async_update_master_hub ( HomeAssistant  hass,
ConfigEntry   config_entry 
)
Update master hub boolean.

Called by setup_entry and unload_entry.
Makes sure there is always one master available.

Definition at line 76 of file __init__.py.

Variable Documentation

◆ CONFIG_SCHEMA

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

Definition at line 19 of file __init__.py.