Public Member Functions | |
| None | __init__ (self, ConfigEntry config_entry) |
| None | async_add_unique_device (self, HomeAssistant hass, pywemo.WeMoDevice wemo) |
| None | async_connect_platform (self, Platform platform, DispatchCallback dispatch) |
| bool | async_unload_platforms (self, HomeAssistant hass) |
Private Attributes | |
| _config_entry | |
Dispatch WeMo devices to the correct platform.
Definition at line 168 of file __init__.py.
| None homeassistant.components.wemo.WemoDispatcher.__init__ | ( | self, | |
| ConfigEntry | config_entry | ||
| ) |
Initialize the WemoDispatcher.
Definition at line 171 of file __init__.py.
| None homeassistant.components.wemo.WemoDispatcher.async_add_unique_device | ( | self, | |
| HomeAssistant | hass, | ||
| pywemo.WeMoDevice | wemo | ||
| ) |
Add a WeMo device to hass if it has not already been added.
Definition at line 179 of file __init__.py.
| None homeassistant.components.wemo.WemoDispatcher.async_connect_platform | ( | self, | |
| Platform | platform, | ||
| DispatchCallback | dispatch | ||
| ) |
Consider a platform as loaded and dispatch any backlog of discovered devices.
Definition at line 221 of file __init__.py.
| bool homeassistant.components.wemo.WemoDispatcher.async_unload_platforms | ( | self, | |
| HomeAssistant | hass | ||
| ) |
Forward the unloading of an entry to platforms.
Definition at line 235 of file __init__.py.
|
private |
Definition at line 173 of file __init__.py.