hass-core/homeassistant/components/sma/const.py
Robert Hillis f028079815
Remove deprecated yaml config from sma (#62472)
Co-authored-by: René Klomp <rene@klomp.ws>
2022-01-04 16:04:16 +01:00

18 lines
376 B
Python

"""Constants for the sma integration."""
from homeassistant.const import Platform
DOMAIN = "sma"
PYSMA_COORDINATOR = "coordinator"
PYSMA_OBJECT = "pysma"
PYSMA_REMOVE_LISTENER = "remove_listener"
PYSMA_SENSORS = "pysma_sensors"
PYSMA_DEVICE_INFO = "device_info"
PLATFORMS = [Platform.SENSOR]
CONF_GROUP = "group"
DEFAULT_SCAN_INTERVAL = 5
GROUPS = ["user", "installer"]