hass-core/homeassistant/components/sma/const.py
René Klomp 5e721b2566
Update SMA device info on setup (#51159)
* Update device info on setup

* Remove migration
2021-06-28 15:32:29 +02:00

21 lines
410 B
Python

"""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"]