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 dc82418 commit 676ad49Copy full SHA for 676ad49
plugwise/util.py
@@ -65,7 +65,7 @@ def escape_illegal_xml_characters(xmldata):
65
return re.sub(r"&([^a-zA-Z#])", r"&\1", xmldata)
66
67
68
-def format_measure(measure):
+def format_measure(measure, unit):
69
"""Format measure to correct type."""
70
try:
71
measure = int(measure)
0 commit comments