Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.wemo.coordinator Namespace Reference

Classes

class  DeviceCoordinator
 
class  Options
 
class  OptionsValidationError
 

Functions

dict[str, DeviceCoordinator_async_coordinators (HomeAssistant hass)
 
SubscriptionRegistry _async_registry (HomeAssistant hass)
 
DeviceInfo _create_device_info (WeMoDevice wemo)
 
DeviceInfo _device_info (WeMoDevice wemo)
 
DeviceCoordinator async_get_coordinator (HomeAssistant hass, str device_id)
 
DeviceCoordinator async_register_device (HomeAssistant hass, ConfigEntry config_entry, WeMoDevice wemo)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
 ErrorStringKey
 
 OptionsFieldKey
 

Detailed Description

Home Assistant wrapper for a pyWeMo device.

Function Documentation

◆ _async_coordinators()

dict[str, DeviceCoordinator] homeassistant.components.wemo.coordinator._async_coordinators ( HomeAssistant  hass)
private

Definition at line 314 of file coordinator.py.

◆ _async_registry()

SubscriptionRegistry homeassistant.components.wemo.coordinator._async_registry ( HomeAssistant  hass)
private

Definition at line 319 of file coordinator.py.

◆ _create_device_info()

DeviceInfo homeassistant.components.wemo.coordinator._create_device_info ( WeMoDevice  wemo)
private
Create device information. Modify if special device.

Definition at line 263 of file coordinator.py.

◆ _device_info()

DeviceInfo homeassistant.components.wemo.coordinator._device_info ( WeMoDevice  wemo)
private

Definition at line 272 of file coordinator.py.

◆ async_get_coordinator()

DeviceCoordinator homeassistant.components.wemo.coordinator.async_get_coordinator ( HomeAssistant  hass,
str  device_id 
)
Return DeviceCoordinator for device_id.

Definition at line 308 of file coordinator.py.

◆ async_register_device()

DeviceCoordinator homeassistant.components.wemo.coordinator.async_register_device ( HomeAssistant  hass,
ConfigEntry  config_entry,
WeMoDevice   wemo 
)
Register a device with home assistant and enable pywemo event callbacks.

Definition at line 284 of file coordinator.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.wemo.coordinator._LOGGER = logging.getLogger(__name__)
private

Definition at line 34 of file coordinator.py.

◆ ErrorStringKey

homeassistant.components.wemo.coordinator.ErrorStringKey

Definition at line 37 of file coordinator.py.

◆ OptionsFieldKey

homeassistant.components.wemo.coordinator.OptionsFieldKey

Definition at line 39 of file coordinator.py.