hass-core/homeassistant/components/sma/const.py
René Klomp 926c2489f0
Implement SMA config flow (#48003)
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Johann Kellerman <kellerza@gmail.com>
2021-04-13 06:21:01 -10:00

21 lines
404 B
Python

"""Constants for the sma integration."""
DOMAIN = "sma"
PYSMA_COORDINATOR = "coordinator"
PYSMA_OBJECT = "pysma"
PYSMA_REMOVE_LISTENER = "remove_listener"
PYSMA_SENSORS = "pysma_sensors"
PLATFORMS = ["sensor"]
CONF_CUSTOM = "custom"
CONF_FACTOR = "factor"
CONF_GROUP = "group"
CONF_KEY = "key"
CONF_UNIT = "unit"
DEVICE_INFO = "device_info"
DEFAULT_SCAN_INTERVAL = 5
GROUPS = ["user", "installer"]