Skip to content

Commit 6244353

Browse files
llucaxshsms
andauthored
Apply suggestion from @shsms
Co-authored-by: Sahas Subramanian <[email protected]> Signed-off-by: Leandro Lucarella <[email protected]>
1 parent ae2effd commit 6244353

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/frequenz/sdk/microgrid/_old_component_data.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -208,11 +208,11 @@ def _receive_logging_errors(
208208
class MeterData(ComponentData):
209209
"""A wrapper class for holding meter data."""
210210

211-
# FIXME: All of this have now a default of 0.0 because this is what it was done when
211+
# FIXME: All of this have now a default of 0.0 because this is what it was doing when
212212
# we used the API v0.15, as we accessed the fields without checking if the fields
213-
# really existed, so the defaul protobuf value of 0.0 for floats was used.
214-
# We might beed to review this and if they are not present interpret them as None
215-
# instea.
213+
# really existed, so the default protobuf value of 0.0 for floats was used.
214+
# We might need to review this and if they are not present interpret them as None
215+
# instead.
216216
active_power: float = 0.0
217217
"""The total active 3-phase AC power, in Watts (W).
218218

0 commit comments

Comments
 (0)