Home Assistant Unofficial Reference 2024.12.1
const.py
Go to the documentation of this file.
1 """Constants for the Aurora ABB PowerOne integration."""
2 
3 from datetime import timedelta
4 
5 DOMAIN = "aurora_abb_powerone"
6 
7 # Min max addresses and default according to here:
8 # https://library.e.abb.com/public/e57212c407344a16b4644cee73492b39/PVI-3.0_3.6_4.2-TL-OUTD-Product%20manual%20EN-RevB(M000016BG).pdf
9 
10 MIN_ADDRESS = 2
11 MAX_ADDRESS = 63
12 DEFAULT_ADDRESS = 2
13 SCAN_INTERVAL = timedelta(seconds=30)
14 
15 DEFAULT_INTEGRATION_TITLE = "PhotoVoltaic Inverters"
16 DEFAULT_DEVICE_NAME = "Solar Inverter"
17 
18 DEVICES = "devices"
19 MANUFACTURER = "ABB"
20 
21 ATTR_DEVICE_NAME = "device_name"
22 ATTR_DEVICE_ID = "device_id"
23 ATTR_MODEL = "model"
24 ATTR_FIRMWARE = "firmware"