We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a78b751 commit 0684bb8Copy full SHA for 0684bb8
plugwise/util.py
@@ -209,7 +209,7 @@ def format_measure(measure: str, unit: str) -> float | int:
209
result = f"{round(float_measure, 1):.1f}"
210
elif abs(float_measure) < 10:
211
result = f"{round(float_measure, 2):.2f}"
212
- else # abs(float_measure) >= 10
+ else: # abs(float_measure) >= 10
213
214
215
return result
0 commit comments