Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.homekit.iidmanager Namespace Reference

Classes

class  AccessoryIIDStorage
 
class  IIDStorage
 

Variables

string ACCESSORY_INFORMATION_SERVICE = "3E"
 
string ALLOCATIONS_KEY = "allocations"
 
int IID_MANAGER_SAVE_DELAY = 2
 
int IID_MANAGER_STORAGE_VERSION = 2
 
int IID_MAX = 18446744073709551615
 
int IID_MIN = 1
 

Detailed Description

Manage allocation of instance ID's.

HomeKit needs to allocate unique numbers to each accessory. These need to
be stable between reboots and upgrades.

This module generates and stores them in a HA storage.

Variable Documentation

◆ ACCESSORY_INFORMATION_SERVICE

string homeassistant.components.homekit.iidmanager.ACCESSORY_INFORMATION_SERVICE = "3E"

Definition at line 29 of file iidmanager.py.

◆ ALLOCATIONS_KEY

string homeassistant.components.homekit.iidmanager.ALLOCATIONS_KEY = "allocations"

Definition at line 23 of file iidmanager.py.

◆ IID_MANAGER_SAVE_DELAY

int homeassistant.components.homekit.iidmanager.IID_MANAGER_SAVE_DELAY = 2

Definition at line 21 of file iidmanager.py.

◆ IID_MANAGER_STORAGE_VERSION

int homeassistant.components.homekit.iidmanager.IID_MANAGER_STORAGE_VERSION = 2

Definition at line 20 of file iidmanager.py.

◆ IID_MAX

int homeassistant.components.homekit.iidmanager.IID_MAX = 18446744073709551615

Definition at line 26 of file iidmanager.py.

◆ IID_MIN

int homeassistant.components.homekit.iidmanager.IID_MIN = 1

Definition at line 25 of file iidmanager.py.