Skip to content

Commit 75ff052

Browse files
author
autoblack
committed
fixup: ha_energy Python code reformatted using Black
1 parent 238b6fc commit 75ff052

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

tests/test_smile.py

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1517,8 +1517,9 @@ async def test_connect_p1v3(self):
15171517
"state": 10263.159,
15181518
},
15191519
{
1520-
"id": "electricity_produced_peak_interval", "state": 179,
1521-
"last_reset": dt.datetime(2020, 3, 12, 19, 45)
1520+
"id": "electricity_produced_peak_interval",
1521+
"state": 179,
1522+
"last_reset": dt.datetime(2020, 3, 12, 19, 45),
15221523
},
15231524
]
15241525
}
@@ -1762,8 +1763,9 @@ async def test_connect_stretch_v31(self):
17621763
"aac7b735042c4832ac9ff33aae4f453b": {
17631764
"sensors": [
17641765
{
1765-
"id": "electricity_consumed_interval", "state": 0.71,
1766-
"last_reset": dt.datetime(2020, 9, 6, 12, 00)
1766+
"id": "electricity_consumed_interval",
1767+
"state": 0.71,
1768+
"last_reset": dt.datetime(2020, 9, 6, 12, 00),
17671769
}
17681770
]
17691771
},
@@ -1806,8 +1808,9 @@ async def test_connect_stretch_v23(self):
18061808
"fd1b74f59e234a9dae4e23b2b5cf07ed": {
18071809
"sensors": [
18081810
{
1809-
"id": "electricity_consumed_interval", "state": 0.21,
1810-
"last_reset": dt.datetime(2020, 8, 3, 20, 00)
1811+
"id": "electricity_consumed_interval",
1812+
"state": 0.21,
1813+
"last_reset": dt.datetime(2020, 8, 3, 20, 00),
18111814
}
18121815
]
18131816
},

0 commit comments

Comments
 (0)