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) | |
Support for deCONZ devices.
| bool homeassistant.components.deconz.async_setup | ( | HomeAssistant | hass, |
| ConfigType | config | ||
| ) |
Set up services.
Definition at line 22 of file __init__.py.
| 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.
| bool homeassistant.components.deconz.async_unload_entry | ( | HomeAssistant | hass, |
| ConfigEntry | config_entry | ||
| ) |
Unload deCONZ config entry.
Definition at line 63 of file __init__.py.
| 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.
| homeassistant.components.deconz.CONFIG_SCHEMA = cv.config_entry_only_config_schema(DOMAIN) |
Definition at line 19 of file __init__.py.