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 984c4d1 commit c82a2d5Copy full SHA for c82a2d5
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