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

Namespaces

 button
 
 climate
 
 config_flow
 
 const
 
 coordinator
 
 cover
 
 entity
 
 light
 
 switch
 

Functions

bool async_migrate_entry (HomeAssistant hass, ConfigEntry config_entry)
 
bool async_setup_entry (HomeAssistant hass, ConfigEntry entry)
 
bool async_unload_entry (HomeAssistant hass, ConfigEntry entry)
 
CentralUnitPolling|CentralUnitWsRPC get_api_object (str central_unit, str user, str password, ClientSession websession)
 
None update_listener (HomeAssistant hass, ConfigEntry config_entry)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 

Detailed Description

The SwitchBee Smart Home integration.

Function Documentation

◆ async_migrate_entry()

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

Definition at line 94 of file __init__.py.

◆ async_setup_entry()

bool homeassistant.components.switchbee.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  entry 
)
Set up SwitchBee Smart Home from a config entry.

Definition at line 57 of file __init__.py.

◆ async_unload_entry()

bool homeassistant.components.switchbee.async_unload_entry ( HomeAssistant  hass,
ConfigEntry  entry 
)
Unload a config entry.

Definition at line 81 of file __init__.py.

◆ get_api_object()

CentralUnitPolling | CentralUnitWsRPC homeassistant.components.switchbee.get_api_object ( str  central_unit,
str  user,
str  password,
ClientSession   websession 
)
Return SwitchBee API object.

Definition at line 35 of file __init__.py.

◆ update_listener()

None homeassistant.components.switchbee.update_listener ( HomeAssistant  hass,
ConfigEntry  config_entry 
)
Update listener.

Definition at line 89 of file __init__.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 23 of file __init__.py.