Home Assistant Unofficial Reference 2024.12.1
__init__.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.components.ssdp.HassUpnpServiceDevice
 
class  homeassistant.components.ssdp.IntegrationMatchers
 
class  homeassistant.components.ssdp.Scanner
 
class  homeassistant.components.ssdp.Server
 
class  homeassistant.components.ssdp.SsdpServiceInfo
 

Namespaces

 homeassistant.components.ssdp
 

Functions

int homeassistant.components.ssdp._async_find_next_available_port (AddressTupleVXType source)
 
bool homeassistant.components.ssdp._async_headers_match (CaseInsensitiveDict headers, dict[str, str] lower_match_dict)
 
None homeassistant.components.ssdp._async_process_callbacks (HomeAssistant hass, list[SsdpHassJobCallback] callbacks, SsdpServiceInfo discovery_info, SsdpChange ssdp_change)
 
str homeassistant.components.ssdp._format_err (str name, *Any args)
 
str|None homeassistant.components.ssdp._udn_from_usn (str|None usn)
 
set[IPv4Address|IPv6Address] homeassistant.components.ssdp.async_build_source_set (HomeAssistant hass)
 
list[SsdpServiceInfo] homeassistant.components.ssdp.async_get_discovery_info_by_st (HomeAssistant hass, str st)
 
list[SsdpServiceInfo] homeassistant.components.ssdp.async_get_discovery_info_by_udn (HomeAssistant hass, str udn)
 
SsdpServiceInfo|None homeassistant.components.ssdp.async_get_discovery_info_by_udn_st (HomeAssistant hass, str udn, str st)
 
Callable[[], None] homeassistant.components.ssdp.async_register_callback (HomeAssistant hass, Callable[[SsdpServiceInfo, SsdpChange], Coroutine[Any, Any, None]|None] callback, dict[str, str]|None match_dict=None)
 
bool homeassistant.components.ssdp.async_setup (HomeAssistant hass, ConfigType config)
 
SsdpServiceInfo homeassistant.components.ssdp.discovery_info_from_headers_and_description (SsdpDevice ssdp_device, CaseInsensitiveDict combined_headers, Mapping[str, Any] info_desc)
 

Variables

 homeassistant.components.ssdp._LOGGER = logging.getLogger(__name__)
 
string homeassistant.components.ssdp.ATTR_HA_MATCHING_DOMAINS = "x_homeassistant_matching_domains"
 
string homeassistant.components.ssdp.ATTR_NT = "nt"
 
string homeassistant.components.ssdp.ATTR_SSDP_BOOTID = "BOOTID.UPNP.ORG"
 
string homeassistant.components.ssdp.ATTR_SSDP_EXT = "ssdp_ext"
 
string homeassistant.components.ssdp.ATTR_SSDP_LOCATION = "ssdp_location"
 
string homeassistant.components.ssdp.ATTR_SSDP_NEXTBOOTID = "NEXTBOOTID.UPNP.ORG"
 
string homeassistant.components.ssdp.ATTR_SSDP_NT = "ssdp_nt"
 
string homeassistant.components.ssdp.ATTR_SSDP_SERVER = "ssdp_server"
 
string homeassistant.components.ssdp.ATTR_SSDP_ST = "ssdp_st"
 
string homeassistant.components.ssdp.ATTR_SSDP_UDN = "ssdp_udn"
 
string homeassistant.components.ssdp.ATTR_SSDP_USN = "ssdp_usn"
 
string homeassistant.components.ssdp.ATTR_ST = "st"
 
string homeassistant.components.ssdp.ATTR_UPNP_DEVICE_TYPE = "deviceType"
 
string homeassistant.components.ssdp.ATTR_UPNP_FRIENDLY_NAME = "friendlyName"
 
string homeassistant.components.ssdp.ATTR_UPNP_MANUFACTURER = "manufacturer"
 
string homeassistant.components.ssdp.ATTR_UPNP_MANUFACTURER_URL = "manufacturerURL"
 
string homeassistant.components.ssdp.ATTR_UPNP_MODEL_DESCRIPTION = "modelDescription"
 
string homeassistant.components.ssdp.ATTR_UPNP_MODEL_NAME = "modelName"
 
string homeassistant.components.ssdp.ATTR_UPNP_MODEL_NUMBER = "modelNumber"
 
string homeassistant.components.ssdp.ATTR_UPNP_MODEL_URL = "modelURL"
 
string homeassistant.components.ssdp.ATTR_UPNP_PRESENTATION_URL = "presentationURL"
 
string homeassistant.components.ssdp.ATTR_UPNP_SERIAL = "serialNumber"
 
string homeassistant.components.ssdp.ATTR_UPNP_SERVICE_LIST = "serviceList"
 
string homeassistant.components.ssdp.ATTR_UPNP_UDN = "UDN"
 
string homeassistant.components.ssdp.ATTR_UPNP_UPC = "UPC"
 
 homeassistant.components.ssdp.CONFIG_SCHEMA = cv.empty_config_schema(DOMAIN)
 
string homeassistant.components.ssdp.DOMAIN = "ssdp"
 
 homeassistant.components.ssdp.IPV4_BROADCAST = IPv4Address("255.255.255.255")
 
list homeassistant.components.ssdp.PRIMARY_MATCH_KEYS
 
 homeassistant.components.ssdp.SCAN_INTERVAL = timedelta(minutes=10)
 
string homeassistant.components.ssdp.SSDP_SCANNER = "scanner"
 
 homeassistant.components.ssdp.SsdpChange = Enum("SsdpChange", "ALIVE BYEBYE UPDATE")
 
 homeassistant.components.ssdp.SsdpHassJobCallback
 
string homeassistant.components.ssdp.UPNP_SERVER = "server"
 
int homeassistant.components.ssdp.UPNP_SERVER_MAX_PORT = 40100
 
int homeassistant.components.ssdp.UPNP_SERVER_MIN_PORT = 40000