"""Constants for the sma integration."""

DOMAIN = "sma"

PYSMA_COORDINATOR = "coordinator"
PYSMA_OBJECT = "pysma"
PYSMA_REMOVE_LISTENER = "remove_listener"
PYSMA_SENSORS = "pysma_sensors"
PYSMA_DEVICE_INFO = "device_info"

PLATFORMS = ["sensor"]

CONF_CUSTOM = "custom"
CONF_FACTOR = "factor"
CONF_GROUP = "group"
CONF_KEY = "key"
CONF_UNIT = "unit"

DEFAULT_SCAN_INTERVAL = 5

GROUPS = ["user", "installer"]
