Skip to content

Commit d374599

Browse files
author
autoblack
committed
fixup: revert-names Python code reformatted using Black
1 parent f3000c2 commit d374599

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

plugwise/smile.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -734,9 +734,7 @@ def get_device_data(self, dev_id):
734734

735735
# Legacy_anna: create heating_state and leave out domestic_hot_water_state
736736
if "boiler_state" in device_data:
737-
device_data["heating_state"] = device_data[
738-
"intended_boiler_state"
739-
]
737+
device_data["heating_state"] = device_data["intended_boiler_state"]
740738
device_data.pop("boiler_state", None)
741739
device_data.pop("intended_boiler_state", None)
742740

0 commit comments

Comments
 (0)