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

Public Member Functions

None __init__ (self, HomeAssistant hass)
 
None async_start (self)
 
None async_stop (self, *Any _)
 

Public Attributes

 hass
 

Private Member Functions

str _async_get_instance_udn (self)
 
None _async_start_upnp_servers (self, Event event)
 
None _async_stop_upnp_servers (self)
 

Detailed Description

Class to be visible via SSDP searching and advertisements.

Definition at line 784 of file __init__.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.ssdp.Server.__init__ (   self,
HomeAssistant  hass 
)
Initialize class.

Definition at line 787 of file __init__.py.

Member Function Documentation

◆ _async_get_instance_udn()

str homeassistant.components.ssdp.Server._async_get_instance_udn (   self)
private
Get Unique Device Name for this instance.

Definition at line 801 of file __init__.py.

◆ _async_start_upnp_servers()

None homeassistant.components.ssdp.Server._async_start_upnp_servers (   self,
Event  event 
)
private
Start the UPnP/SSDP servers.

Definition at line 806 of file __init__.py.

◆ _async_stop_upnp_servers()

None homeassistant.components.ssdp.Server._async_stop_upnp_servers (   self)
private
Stop UPnP/SSDP servers.

Definition at line 886 of file __init__.py.

◆ async_start()

None homeassistant.components.ssdp.Server.async_start (   self)
Start the server.

Definition at line 792 of file __init__.py.

◆ async_stop()

None homeassistant.components.ssdp.Server.async_stop (   self,
*Any  _ 
)
Stop the server.

Definition at line 882 of file __init__.py.

Member Data Documentation

◆ hass

homeassistant.components.ssdp.Server.hass

Definition at line 789 of file __init__.py.


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