hass-core/homeassistant/components/guardian/const.py
Aaron Bach 0067b6a84d
Transition Guardian to use a DataUpdateCoordinator (#37380)
* 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
2020-07-05 16:09:40 -06:00

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"