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 4851d67 commit 352e756Copy full SHA for 352e756
plugwise/util.py
@@ -93,7 +93,7 @@ def format_measure(measure, unit):
93
measure = int(measure)
94
except ValueError:
95
if unit == PERCENTAGE and float(measure) > 0:
96
- return = int(float(measure) * 100)
+ return int(float(measure) * 100)
97
98
if unit == ENERGY_KILO_WATT_HOUR:
99
measure = float(measure) / 1000
0 commit comments