Skip to content

Commit

Permalink
fix missing n phase (#1312)
Browse files Browse the repository at this point in the history
  • Loading branch information
drc38 committed Sep 8, 2024
1 parent a268a86 commit 90ff332
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/ocpp/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1117,7 +1117,7 @@ def average_of_nonzero(values):
self._metrics[measurand].extra_attr[phase] = float(value)
self._metrics[measurand].extra_attr[om.context.value] = context

line_phases = [Phase.l1.value, Phase.l2.value, Phase.l3.value]
line_phases = [Phase.l1.value, Phase.l2.value, Phase.l3.value, Phase.n.value]
line_to_neutral_phases = [Phase.l1_n.value, Phase.l2_n.value, Phase.l3_n.value]
line_to_line_phases = [Phase.l1_l2.value, Phase.l2_l3.value, Phase.l3_l1.value]

Expand Down

0 comments on commit 90ff332

Please sign in to comment.