Classes | |
| class | HomekitControllerFlowHandler |
| class | InsecureSetupCode |
Functions | |
| str | ensure_pin_format (str pin, Any allow_insecure_setup_codes=None) |
| str | formatted_category (Categories category) |
| str | normalize_hkid (str hkid) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| string | BLE_DEFAULT_NAME = "Bluetooth device" |
| string | HOMEKIT_BRIDGE_DOMAIN = "homekit" |
| string | HOMEKIT_DIR = ".homekit" |
| list | HOMEKIT_IGNORE |
| dictionary | INSECURE_CODES |
| string | PAIRING_FILE = "pairing.json" |
| PIN_FORMAT = re.compile(r"^(\d{3})-{0,1}(\d{2})-{0,1}(\d{3})$") | |
Config flow to configure homekit_controller.
| str homeassistant.components.homekit_controller.config_flow.ensure_pin_format | ( | str | pin, |
| Any | allow_insecure_setup_codes = None |
||
| ) |
Ensure a pin code is correctly formatted. Ensures a pin code is in the format 111-11-111. Handles codes with and without dashes. If incorrect code is entered, an exception is raised.
Definition at line 84 of file config_flow.py.
| str homeassistant.components.homekit_controller.config_flow.formatted_category | ( | Categories | category | ) |
Return a human readable category name.
Definition at line 79 of file config_flow.py.
| str homeassistant.components.homekit_controller.config_flow.normalize_hkid | ( | str | hkid | ) |
Normalize a hkid so that it is safe to compare with other normalized hkids.
Definition at line 74 of file config_flow.py.
|
private |
Definition at line 53 of file config_flow.py.
| string homeassistant.components.homekit_controller.config_flow.BLE_DEFAULT_NAME = "Bluetooth device" |
Definition at line 56 of file config_flow.py.
| string homeassistant.components.homekit_controller.config_flow.HOMEKIT_BRIDGE_DOMAIN = "homekit" |
Definition at line 38 of file config_flow.py.
| string homeassistant.components.homekit_controller.config_flow.HOMEKIT_DIR = ".homekit" |
Definition at line 37 of file config_flow.py.
| list homeassistant.components.homekit_controller.config_flow.HOMEKIT_IGNORE |
Definition at line 40 of file config_flow.py.
| dictionary homeassistant.components.homekit_controller.config_flow.INSECURE_CODES |
Definition at line 58 of file config_flow.py.
| string homeassistant.components.homekit_controller.config_flow.PAIRING_FILE = "pairing.json" |
Definition at line 49 of file config_flow.py.
| homeassistant.components.homekit_controller.config_flow.PIN_FORMAT = re.compile(r"^(\d{3})-{0,1}(\d{2})-{0,1}(\d{3})$") |
Definition at line 51 of file config_flow.py.