2021-04-13 16:21:01 +00:00
|
|
|
"""Constants for the sma integration."""
|
2021-12-04 12:43:48 +00:00
|
|
|
from homeassistant.const import Platform
|
2021-04-13 16:21:01 +00:00
|
|
|
|
|
|
|
DOMAIN = "sma"
|
|
|
|
|
|
|
|
PYSMA_COORDINATOR = "coordinator"
|
|
|
|
PYSMA_OBJECT = "pysma"
|
|
|
|
PYSMA_REMOVE_LISTENER = "remove_listener"
|
|
|
|
PYSMA_SENSORS = "pysma_sensors"
|
2021-06-28 13:32:29 +00:00
|
|
|
PYSMA_DEVICE_INFO = "device_info"
|
2021-04-13 16:21:01 +00:00
|
|
|
|
2021-12-04 12:43:48 +00:00
|
|
|
PLATFORMS = [Platform.SENSOR]
|
2021-04-13 16:21:01 +00:00
|
|
|
|
|
|
|
CONF_GROUP = "group"
|
|
|
|
|
|
|
|
DEFAULT_SCAN_INTERVAL = 5
|
|
|
|
|
|
|
|
GROUPS = ["user", "installer"]
|