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

Namespaces

 button
 
 config_flow
 
 const
 
 cover
 
 diagnostics
 
 entity
 
 fan
 
 light
 
 models
 
 switch
 
 utils
 

Functions

None _async_remove_old_device_identifiers (str config_entry_id, dr.DeviceRegistry device_registry, BondHub hub)
 
bool async_remove_config_entry_device (HomeAssistant hass, BondConfigEntry config_entry, dr.DeviceEntry device_entry)
 
bool async_setup_entry (HomeAssistant hass, BondConfigEntry entry)
 
bool async_unload_entry (HomeAssistant hass, BondConfigEntry entry)
 

Variables

int _API_TIMEOUT = SLOW_UPDATE_WARNING - 1
 
 _LOGGER = logging.getLogger(__name__)
 
 BondConfigEntry
 
list PLATFORMS
 

Detailed Description

The Bond integration.

Function Documentation

◆ _async_remove_old_device_identifiers()

None homeassistant.components.bond._async_remove_old_device_identifiers ( str  config_entry_id,
dr.DeviceRegistry  device_registry,
BondHub   hub 
)
private
Remove the non-unique device registry entries.

Definition at line 108 of file __init__.py.

◆ async_remove_config_entry_device()

bool homeassistant.components.bond.async_remove_config_entry_device ( HomeAssistant  hass,
BondConfigEntry  config_entry,
dr.DeviceEntry   device_entry 
)
Remove bond config entry from a device.

Definition at line 120 of file __init__.py.

◆ async_setup_entry()

bool homeassistant.components.bond.async_setup_entry ( HomeAssistant  hass,
BondConfigEntry  entry 
)
Set up Bond from a config entry.

Definition at line 41 of file __init__.py.

◆ async_unload_entry()

bool homeassistant.components.bond.async_unload_entry ( HomeAssistant  hass,
BondConfigEntry  entry 
)
Unload a config entry.

Definition at line 102 of file __init__.py.

Variable Documentation

◆ _API_TIMEOUT

int homeassistant.components.bond._API_TIMEOUT = SLOW_UPDATE_WARNING - 1
private

Definition at line 34 of file __init__.py.

◆ _LOGGER

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

Definition at line 36 of file __init__.py.

◆ BondConfigEntry

homeassistant.components.bond.BondConfigEntry

Definition at line 38 of file __init__.py.

◆ PLATFORMS

list homeassistant.components.bond.PLATFORMS
Initial value:
1 = [
2  Platform.BUTTON,
3  Platform.COVER,
4  Platform.FAN,
5  Platform.LIGHT,
6  Platform.SWITCH,
7 ]

Definition at line 27 of file __init__.py.