Home Assistant Unofficial Reference 2024.12.1
const.py
Go to the documentation of this file.
1 """Constants for the sma integration."""
2 
3 from homeassistant.const import Platform
4 
5 DOMAIN = "sma"
6 
7 PYSMA_COORDINATOR = "coordinator"
8 PYSMA_OBJECT = "pysma"
9 PYSMA_REMOVE_LISTENER = "remove_listener"
10 PYSMA_SENSORS = "pysma_sensors"
11 PYSMA_DEVICE_INFO = "device_info"
12 
13 PLATFORMS = [Platform.SENSOR]
14 
15 CONF_GROUP = "group"
16 
17 DEFAULT_SCAN_INTERVAL = 5
18 
19 GROUPS = ["user", "installer"]