Skip to content

Commit d7c784e

Browse files
author
autoblack
committed
fixup: add_lock_state Python code reformatted using Black
1 parent 32badae commit d7c784e

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
@@ -575,7 +575,7 @@ def appliance_data(self, dev_id):
575575
actuator = "actuators"
576576
func_type = "relay"
577577
for item, name in {"lock": "lock", "state": "relay"}.items():
578-
locator = f'.//{actuator}/{func_type}/{item}'
578+
locator = f".//{actuator}/{func_type}/{item}"
579579
if appliance.find(locator) is not None:
580580
measure = appliance.find(locator).text
581581
data[name] = format_measure(measure, None)

0 commit comments

Comments
 (0)