Home Assistant Unofficial Reference 2024.12.1
const.py
Go to the documentation of this file.
1 """Constants for the iskra integration."""
2 
3 DOMAIN = "iskra"
4 MANUFACTURER = "Iskra d.o.o"
5 
6 # POWER
7 ATTR_TOTAL_APPARENT_POWER = "total_apparent_power"
8 ATTR_TOTAL_REACTIVE_POWER = "total_reactive_power"
9 ATTR_TOTAL_ACTIVE_POWER = "total_active_power"
10 ATTR_PHASE1_POWER = "phase1_power"
11 ATTR_PHASE2_POWER = "phase2_power"
12 ATTR_PHASE3_POWER = "phase3_power"
13 
14 # Voltage
15 ATTR_PHASE1_VOLTAGE = "phase1_voltage"
16 ATTR_PHASE2_VOLTAGE = "phase2_voltage"
17 ATTR_PHASE3_VOLTAGE = "phase3_voltage"
18 
19 # Current
20 ATTR_PHASE1_CURRENT = "phase1_current"
21 ATTR_PHASE2_CURRENT = "phase2_current"
22 ATTR_PHASE3_CURRENT = "phase3_current"
23 
24 # Counters
25 ATTR_NON_RESETTABLE_COUNTER = "non_resettable_counter_{}"
26 ATTR_RESETTABLE_COUNTER = "resettable_counter_{}"
27 
28 # Frequency
29 ATTR_FREQUENCY = "frequency"