Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.ssdp.IntegrationMatchers Class Reference

Public Member Functions

None __init__ (self)
 
set[str] async_matching_domains (self, CaseInsensitiveDict info_with_desc)
 
None async_setup (self, dict[str, list[dict[str, str]]] integration_matchers)
 

Private Attributes

 _match_by_key
 

Detailed Description

Optimized integration matching.

Definition at line 255 of file __init__.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.ssdp.IntegrationMatchers.__init__ (   self)
Init optimized integration matching.

Definition at line 258 of file __init__.py.

Member Function Documentation

◆ async_matching_domains()

set[str] homeassistant.components.ssdp.IntegrationMatchers.async_matching_domains (   self,
CaseInsensitiveDict  info_with_desc 
)
Find domains matching the passed CaseInsensitiveDict.

Definition at line 285 of file __init__.py.

◆ async_setup()

None homeassistant.components.ssdp.IntegrationMatchers.async_setup (   self,
dict[str, list[dict[str, str]]]   integration_matchers 
)
Build matchers by key.

Here we convert the primary match keys into their own
dicts so we can do lookups of the primary match
key to find the match dict.

Definition at line 265 of file __init__.py.

Member Data Documentation

◆ _match_by_key

homeassistant.components.ssdp.IntegrationMatchers._match_by_key
private

Definition at line 274 of file __init__.py.


The documentation for this class was generated from the following file: