Skip to content

Commit 1b4319d

Browse files
committed
Fix assert-values
1 parent 66fc5e8 commit 1b4319d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test_smile.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ async def test_connect_smile_p1_v2(self):
554554
"electricity_consumed_peak_point": 458.0,
555555
"net_electricity_point": 458.0,
556556
"gas_consumed_cumulative": 584.4,
557-
"electricity_produced_peak_cumulative": 1296.0,
557+
"electricity_produced_peak_cumulative": 1296.1,
558558
"electricity_produced_off_peak_cumulative": 483.0,
559559
}
560560
}
@@ -1065,7 +1065,7 @@ async def test_connect_p1v3(self):
10651065
"ba4de7613517478da82dd9b6abea36af": {
10661066
"electricity_consumed_peak_point": 650.0,
10671067
"electricity_produced_peak_cumulative": 0.0,
1068-
"electricity_consumed_off_peak_cumulative": 10263.0,
1068+
"electricity_consumed_off_peak_cumulative": 10263.2,
10691069
}
10701070
}
10711071

@@ -1097,7 +1097,7 @@ async def test_connect_p1v3solarfake(self):
10971097
"ba4de7613517478da82dd9b6abea36af": {
10981098
"electricity_consumed_peak_point": 644.0,
10991099
"electricity_produced_peak_cumulative": 20.0,
1100-
"electricity_consumed_off_peak_cumulative": 10263.0,
1100+
"electricity_consumed_off_peak_cumulative": 10263.2,
11011101
"net_electricity_point": 244,
11021102
}
11031103
}
@@ -1130,7 +1130,7 @@ async def test_connect_p1v3_full_option(self):
11301130
# Gateway / P1 itself
11311131
"e950c7d5e1ee407a858e2a8b5016c8b3": {
11321132
"electricity_consumed_peak_point": 0.0,
1133-
"electricity_produced_peak_cumulative": 397.0,
1133+
"electricity_produced_peak_cumulative": 396.6,
11341134
"electricity_consumed_off_peak_cumulative": 551.0,
11351135
"electricity_produced_peak_point": 2761.0,
11361136
"net_electricity_point": -2761.0,

0 commit comments

Comments
 (0)