Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.thread.discovery Namespace Reference

Classes

class  ThreadRouterDiscovery
 
class  ThreadRouterDiscoveryData
 

Functions

ThreadRouterDiscoveryData async_discovery_data_from_service (AsyncServiceInfo service, bytes ext_addr, bytes ext_pan_id)
 
list[ThreadRouterDiscoveryDataasync_read_zeroconf_cache (AsyncZeroconf aiozc)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
int CLASS_IN = 1
 
string THREAD_TYPE = "_meshcop._udp.local."
 
int TYPE_PTR = 12
 

Detailed Description

The Thread integration.

Function Documentation

◆ async_discovery_data_from_service()

ThreadRouterDiscoveryData homeassistant.components.thread.discovery.async_discovery_data_from_service ( AsyncServiceInfo  service,
bytes  ext_addr,
bytes  ext_pan_id 
)
Get a ThreadRouterDiscoveryData from an AsyncServiceInfo.

Definition at line 60 of file discovery.py.

◆ async_read_zeroconf_cache()

list[ThreadRouterDiscoveryData] homeassistant.components.thread.discovery.async_read_zeroconf_cache ( AsyncZeroconf  aiozc)
Return all meshcop records already in the zeroconf cache.

Definition at line 114 of file discovery.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.thread.discovery._LOGGER = logging.getLogger(__name__)
private

Definition at line 23 of file discovery.py.

◆ CLASS_IN

int homeassistant.components.thread.discovery.CLASS_IN = 1

Definition at line 38 of file discovery.py.

◆ THREAD_TYPE

string homeassistant.components.thread.discovery.THREAD_TYPE = "_meshcop._udp.local."

Definition at line 37 of file discovery.py.

◆ TYPE_PTR

int homeassistant.components.thread.discovery.TYPE_PTR = 12

Definition at line 39 of file discovery.py.