Public Member Functions | |
| None | __init__ (self, HomeAssistant hass, WemoDispatcher wemo_dispatcher, Sequence[HostPortTuple] static_config, ConfigEntry entry) |
| None | async_discover_and_schedule (self, datetime|None event_time=None) |
| None | async_stop_discovery (self) |
| None | discover_statics (self) |
Static Public Attributes | |
| int | ADDITIONAL_SECONDS_BETWEEN_SCANS = 10 |
| int | MAX_SECONDS_BETWEEN_SCANS = 300 |
Private Member Functions | |
| None | _async_discover_and_schedule_callback (self, datetime event_time) |
Private Attributes | |
| _discover_job | |
| _entry | |
| _hass | |
| _scan_delay | |
| _static_config | |
| _stop | |
| _wemo_dispatcher | |
Use SSDP to discover WeMo devices.
Definition at line 244 of file __init__.py.
| None homeassistant.components.wemo.WemoDiscovery.__init__ | ( | self, | |
| HomeAssistant | hass, | ||
| WemoDispatcher | wemo_dispatcher, | ||
| Sequence[HostPortTuple] | static_config, | ||
| ConfigEntry | entry | ||
| ) |
Initialize the WemoDiscovery.
Definition at line 250 of file __init__.py.
|
private |
Run the periodic background scanning.
Definition at line 293 of file __init__.py.
| None homeassistant.components.wemo.WemoDiscovery.async_discover_and_schedule | ( | self, | |
| datetime | None | event_time = None |
||
| ) |
Periodically scan the network looking for WeMo devices.
Definition at line 266 of file __init__.py.
| None homeassistant.components.wemo.WemoDiscovery.async_stop_discovery | ( | self | ) |
Stop the periodic background scanning.
Definition at line 303 of file __init__.py.
| None homeassistant.components.wemo.WemoDiscovery.discover_statics | ( | self | ) |
Initialize or Re-Initialize connections to statically configured devices.
Definition at line 309 of file __init__.py.
|
private |
Definition at line 285 of file __init__.py.
|
private |
Definition at line 264 of file __init__.py.
|
private |
Definition at line 258 of file __init__.py.
|
private |
Definition at line 261 of file __init__.py.
|
private |
Definition at line 262 of file __init__.py.
|
private |
Definition at line 286 of file __init__.py.
|
private |
Definition at line 259 of file __init__.py.
|
static |
Definition at line 247 of file __init__.py.
|
static |
Definition at line 248 of file __init__.py.