Skip to content

Commit 74a09d8

Browse files
committed
Different approach
1 parent 8d38162 commit 74a09d8

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

plugwise/constants.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,8 +445,16 @@
445445
P1_MEASUREMENTS: Final[dict[str, UOM]] = {
446446
"electricity_consumed": UOM(POWER_WATT),
447447
"electricity_produced": UOM(POWER_WATT),
448+
"electricity_phase_one_consumed": UOM(POWER_WATT),
449+
"electricity_phase_two_consumed": UOM(POWER_WATT),
450+
"electricity_phase_three_consumed": UOM(POWER_WATT),
451+
"electricity_phase_one_produced": UOM(POWER_WATT),
452+
"electricity_phase_two_produced": UOM(POWER_WATT),
453+
"electricity_phase_three_produced": UOM(POWER_WATT),
448454
"gas_consumed": UOM(VOLUME_CUBIC_METERS),
449-
"voltage": UOM(ELECTRIC_POTENTIAL_VOLT),
455+
"voltage_phase_one": UOM(ELECTRIC_POTENTIAL_VOLT),
456+
"voltage_phase_two": UOM(ELECTRIC_POTENTIAL_VOLT),
457+
"voltage_phase_three": UOM(ELECTRIC_POTENTIAL_VOLT),
450458
}
451459
# Thermostat and Plug/Stretch related measurements
452460
# Excluded:

0 commit comments

Comments
 (0)