* Migrate Guardian to use the DataUpdateCoordinator * Finish work * Cleanup * Don't use UpdateFailed error * Code cleanup * Code cleanup * Remove unnecessary change * Code review * Code review * Use a subclass of DataUpdateCoordinator * Make sure to pop client upon unload * Adjust coverage
16 lines
383 B
Python
16 lines
383 B
Python
"""Constants for the Elexa Guardian integration."""
|
|
import logging
|
|
|
|
DOMAIN = "guardian"
|
|
|
|
LOGGER = logging.getLogger(__package__)
|
|
|
|
API_SYSTEM_DIAGNOSTICS = "system_diagnostics"
|
|
API_SYSTEM_ONBOARD_SENSOR_STATUS = "system_onboard_sensor_status"
|
|
API_VALVE_STATUS = "valve_status"
|
|
API_WIFI_STATUS = "wifi_status"
|
|
|
|
CONF_UID = "uid"
|
|
|
|
DATA_CLIENT = "client"
|
|
DATA_COORDINATOR = "coordinator"
|