Skip to content

Commit 9b45814

Browse files
committed
Use format_measure() for lock-&relaystate
1 parent 79ec750 commit 9b45814

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugwise/helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ def appliance_data(self, dev_id):
578578
locator = f'.//{actuator}/{func_type}/{item}'
579579
if appliance.find(locator) is not None:
580580
measure = appliance.find(locator).text
581-
data[name] = measure
581+
data[name] = format_measure(measure, None)
582582

583583
# Fix for Adam + Anna: heating_state also present under Anna, remove
584584
if "temperature" in data:

0 commit comments

Comments
 (0)