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__) | |
The SwitchBee Smart Home integration.
| bool homeassistant.components.switchbee.async_migrate_entry | ( | HomeAssistant | hass, |
| ConfigEntry | config_entry | ||
| ) |
Migrate old entry.
Definition at line 94 of file __init__.py.
| 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.
| bool homeassistant.components.switchbee.async_unload_entry | ( | HomeAssistant | hass, |
| ConfigEntry | entry | ||
| ) |
Unload a config entry.
Definition at line 81 of file __init__.py.
| 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.
| None homeassistant.components.switchbee.update_listener | ( | HomeAssistant | hass, |
| ConfigEntry | config_entry | ||
| ) |
Update listener.
Definition at line 89 of file __init__.py.
|
private |
Definition at line 23 of file __init__.py.