Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.homekit_controller.connection Namespace Reference

Classes

class  HKDevice
 

Functions

bool valid_serial_number (str serial)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
 AddAccessoryCb
 
 AddCharacteristicCb
 
 AddServiceCb
 
int BLE_AVAILABILITY_CHECK_INTERVAL = 1800
 
int MAX_POLL_FAILURES_TO_DECLARE_UNAVAILABLE = 3
 
int RETRY_INTERVAL = 60
 

Detailed Description

Helpers for managing a pairing with a HomeKit accessory or bridge.

Function Documentation

◆ valid_serial_number()

bool homeassistant.components.homekit_controller.connection.valid_serial_number ( str  serial)
Return if the serial number appears to be valid.

Definition at line 65 of file connection.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.homekit_controller.connection._LOGGER = logging.getLogger(__name__)
private

Definition at line 58 of file connection.py.

◆ AddAccessoryCb

homeassistant.components.homekit_controller.connection.AddAccessoryCb

Definition at line 60 of file connection.py.

◆ AddCharacteristicCb

homeassistant.components.homekit_controller.connection.AddCharacteristicCb

Definition at line 62 of file connection.py.

◆ AddServiceCb

homeassistant.components.homekit_controller.connection.AddServiceCb

Definition at line 61 of file connection.py.

◆ BLE_AVAILABILITY_CHECK_INTERVAL

int homeassistant.components.homekit_controller.connection.BLE_AVAILABILITY_CHECK_INTERVAL = 1800

Definition at line 56 of file connection.py.

◆ MAX_POLL_FAILURES_TO_DECLARE_UNAVAILABLE

int homeassistant.components.homekit_controller.connection.MAX_POLL_FAILURES_TO_DECLARE_UNAVAILABLE = 3

Definition at line 53 of file connection.py.

◆ RETRY_INTERVAL

int homeassistant.components.homekit_controller.connection.RETRY_INTERVAL = 60

Definition at line 52 of file connection.py.