* Use DataUpdateCoordinator for wemo * Rename DeviceWrapper->DeviceCoordinator and make it a subclass of DataUpdateCoordinator * Rename async_update_data->_async_update_data to override base class * Rename: device -> coordinator
7 lines
208 B
Python
7 lines
208 B
Python
"""Constants for the Belkin Wemo component."""
|
|
DOMAIN = "wemo"
|
|
|
|
SERVICE_SET_HUMIDITY = "set_humidity"
|
|
SERVICE_RESET_FILTER_LIFE = "reset_filter_life"
|
|
|
|
WEMO_SUBSCRIPTION_EVENT = f"{DOMAIN}_subscription_event"
|