Namespaces | |
| binary_sensor | |
| config_flow | |
| const | |
| coordinator | |
| device_trigger | |
| entity | |
| fan | |
| light | |
| models | |
| sensor | |
| switch | |
Classes | |
| class | WemoDiscovery |
| class | WemoDispatcher |
Functions | |
| bool | async_setup (HomeAssistant hass, ConfigType config) |
| bool | async_setup_entry (HomeAssistant hass, ConfigEntry entry) |
| bool | async_unload_entry (HomeAssistant hass, ConfigEntry entry) |
| None | async_wemo_dispatcher_connect (HomeAssistant hass, DispatchCallback dispatch) |
| HostPortTuple | coerce_host_port (str value) |
| pywemo.WeMoDevice|None | validate_static_config (str host, int|None port) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| string | CONF_STATIC = "static" |
| CONFIG_SCHEMA | |
| bool | DEFAULT_DISCOVERY = True |
| DispatchCallback | |
| HostPortTuple | |
| int | MAX_CONCURRENCY = 3 |
| dictionary | WEMO_MODEL_DISPATCH |
Support for WeMo device discovery.
| bool homeassistant.components.wemo.async_setup | ( | HomeAssistant | hass, |
| ConfigType | config | ||
| ) |
Set up for WeMo devices.
Definition at line 85 of file __init__.py.
| bool homeassistant.components.wemo.async_setup_entry | ( | HomeAssistant | hass, |
| ConfigEntry | entry | ||
| ) |
Set up a wemo config entry.
Definition at line 118 of file __init__.py.
| bool homeassistant.components.wemo.async_unload_entry | ( | HomeAssistant | hass, |
| ConfigEntry | entry | ||
| ) |
Unload a wemo config entry.
Definition at line 138 of file __init__.py.
| None homeassistant.components.wemo.async_wemo_dispatcher_connect | ( | HomeAssistant | hass, |
| DispatchCallback | dispatch | ||
| ) |
Connect a wemo platform with the WemoDispatcher.
Definition at line 156 of file __init__.py.
| HostPortTuple homeassistant.components.wemo.coerce_host_port | ( | str | value | ) |
Validate that provided value is either just host or host:port. Returns (host, None) or (host, port) respectively.
Definition at line 51 of file __init__.py.
| pywemo.WeMoDevice | None homeassistant.components.wemo.validate_static_config | ( | str | host, |
| int | None | port | ||
| ) |
Handle a static config.
Definition at line 325 of file __init__.py.
|
private |
Definition at line 45 of file __init__.py.
| string homeassistant.components.wemo.CONF_STATIC = "static" |
Definition at line 66 of file __init__.py.
| homeassistant.components.wemo.CONFIG_SCHEMA |
Definition at line 70 of file __init__.py.
| bool homeassistant.components.wemo.DEFAULT_DISCOVERY = True |
Definition at line 68 of file __init__.py.
| homeassistant.components.wemo.DispatchCallback |
Definition at line 47 of file __init__.py.
| homeassistant.components.wemo.HostPortTuple |
Definition at line 48 of file __init__.py.
| int homeassistant.components.wemo.MAX_CONCURRENCY = 3 |
Definition at line 28 of file __init__.py.
| dictionary homeassistant.components.wemo.WEMO_MODEL_DISPATCH |
Definition at line 31 of file __init__.py.