Skip to content

Commit 648d78c

Browse files
author
autoblack
committed
fixup: ha_energy Python code reformatted using Black
1 parent e6f8a4d commit 648d78c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/test_smile.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,9 @@ async def device_test(self, smile=pw_smile.Smile, testdata=None):
461461

462462
if type(b_item["state"]) is list:
463463
assert a_item["state"] == b_item["state"][0]
464-
assert a_item["last_reset"] == b_item["state"][1]
464+
assert (
465+
a_item["last_reset"] == b_item["state"][1]
466+
)
465467
else:
466468
assert a_item["state"] == b_item["state"]
467469
b_sensor = None

0 commit comments

Comments
 (0)