Namespaces | |
| binary_sensor | |
| config_flow | |
| const | |
| coordinator | |
| cover | |
| entity | |
| humidifier | |
| light | |
| lock | |
| sensor | |
| switch | |
Functions | |
| None | _async_update_listener (HomeAssistant hass, ConfigEntry entry) |
| bool | async_setup_entry (HomeAssistant hass, SwitchbotConfigEntry entry) |
| bool | async_unload_entry (HomeAssistant hass, ConfigEntry entry) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| dictionary | CLASS_BY_DEVICE |
| dictionary | PLATFORMS_BY_TYPE |
Support for Switchbot devices.
|
private |
Handle options update.
Definition at line 161 of file __init__.py.
| bool homeassistant.components.switchbot.async_setup_entry | ( | HomeAssistant | hass, |
| SwitchbotConfigEntry | entry | ||
| ) |
Set up Switchbot from a config entry.
Definition at line 82 of file __init__.py.
| bool homeassistant.components.switchbot.async_unload_entry | ( | HomeAssistant | hass, |
| ConfigEntry | entry | ||
| ) |
Unload a config entry.
Definition at line 166 of file __init__.py.
|
private |
Definition at line 79 of file __init__.py.
| dictionary homeassistant.components.switchbot.CLASS_BY_DEVICE |
Definition at line 65 of file __init__.py.
| dictionary homeassistant.components.switchbot.PLATFORMS_BY_TYPE |
Definition at line 32 of file __init__.py.