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