Classes | |
| class | SwitchbotConfigFlow |
| class | SwitchbotOptionsFlowHandler |
Functions | |
| str | format_unique_id (str address) |
| str | name_from_discovery (SwitchBotAdvertisement discovery) |
| str | short_address (str address) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
Config flow for Switchbot.
| str homeassistant.components.switchbot.config_flow.format_unique_id | ( | str | address | ) |
Format the unique ID for a switchbot.
Definition at line 56 of file config_flow.py.
| str homeassistant.components.switchbot.config_flow.name_from_discovery | ( | SwitchBotAdvertisement | discovery | ) |
Get the name from a discovery.
Definition at line 67 of file config_flow.py.
| str homeassistant.components.switchbot.config_flow.short_address | ( | str | address | ) |
Convert a Bluetooth address to a short address.
Definition at line 61 of file config_flow.py.
|
private |
Definition at line 53 of file config_flow.py.