@@ -429,7 +429,7 @@ async def test_connect_legacy_anna(self):
429429 "04e4cbfe7f4340f090f85ec3b9e6a950" : {
430430 "water_temperature" : 23.6 ,
431431 "water_pressure" : 1.2 ,
432- "modulation_level" : 0.0 ,
432+ "modulation_level" : 0 ,
433433 "heating_state" : True ,
434434 },
435435 }
@@ -545,8 +545,8 @@ async def test_connect_smile_p1_v2(self):
545545 "electricity_consumed_peak_point" : 458.0 ,
546546 "net_electricity_point" : 458.0 ,
547547 "gas_consumed_cumulative" : 584.4 ,
548- "electricity_produced_peak_cumulative" : 1296136 .0 ,
549- "electricity_produced_off_peak_cumulative" : 482598 .0 ,
548+ "electricity_produced_peak_cumulative" : 1296 .0 ,
549+ "electricity_produced_off_peak_cumulative" : 483 .0 ,
550550 }
551551 }
552552
@@ -890,13 +890,13 @@ async def test_connect_adam_zone_per_device(self):
890890 "b59bcebaf94b499ea7d46e4a66fb62d8" : {
891891 "setpoint" : 21.5 ,
892892 "temperature" : 21.1 ,
893- "battery" : 0. 34 ,
893+ "battery" : 34 ,
894894 },
895895 # Floor WK
896896 "b310b72a0e354bfab43089919b9a88bf" : {
897897 "setpoint" : 21.5 ,
898898 "temperature" : 26.2 ,
899- "valve_position" : 1.0 ,
899+ "valve_position" : 100 ,
900900 },
901901 # CV pomp
902902 "78d1126fc4c743db81b61c20e88342a7" : {
@@ -907,7 +907,7 @@ async def test_connect_adam_zone_per_device(self):
907907 "df4a4a8169904cdb9c03d61a21f42140" : {
908908 "setpoint" : 13.0 ,
909909 "temperature" : 16.5 ,
910- "battery" : 0. 67 ,
910+ "battery" : 67 ,
911911 },
912912 # Adam
913913 "90986d591dcd426cae3ec3e8111ff730" : {"intended_boiler_temperature" : 70.0 },
@@ -973,13 +973,13 @@ async def test_connect_adam_multiple_devices_per_zone(self):
973973 "b59bcebaf94b499ea7d46e4a66fb62d8" : {
974974 "setpoint" : 21.5 ,
975975 "temperature" : 20.9 ,
976- "battery" : 0. 34 ,
976+ "battery" : 34 ,
977977 },
978978 # Floor WK
979979 "b310b72a0e354bfab43089919b9a88bf" : {
980980 "setpoint" : 21.5 ,
981981 "temperature" : 26.0 ,
982- "valve_position" : 1.0 ,
982+ "valve_position" : 100 ,
983983 },
984984 # CV pomp
985985 "78d1126fc4c743db81b61c20e88342a7" : {
@@ -990,7 +990,7 @@ async def test_connect_adam_multiple_devices_per_zone(self):
990990 "df4a4a8169904cdb9c03d61a21f42140" : {
991991 "setpoint" : 13.0 ,
992992 "temperature" : 16.5 ,
993- "battery" : 0. 67 ,
993+ "battery" : 67 ,
994994 },
995995 # Adam
996996 "90986d591dcd426cae3ec3e8111ff730" : {"intended_boiler_temperature" : 70.0 },
@@ -1056,7 +1056,7 @@ async def test_connect_p1v3(self):
10561056 "ba4de7613517478da82dd9b6abea36af" : {
10571057 "electricity_consumed_peak_point" : 650.0 ,
10581058 "electricity_produced_peak_cumulative" : 0.0 ,
1059- "electricity_consumed_off_peak_cumulative" : 10263159 .0 ,
1059+ "electricity_consumed_off_peak_cumulative" : 10263 .0 ,
10601060 }
10611061 }
10621062
@@ -1087,8 +1087,8 @@ async def test_connect_p1v3solarfake(self):
10871087 # Gateway / P1 itself
10881088 "ba4de7613517478da82dd9b6abea36af" : {
10891089 "electricity_consumed_peak_point" : 644.0 ,
1090- "electricity_produced_peak_cumulative" : 20000 .0 ,
1091- "electricity_consumed_off_peak_cumulative" : 10263159 .0 ,
1090+ "electricity_produced_peak_cumulative" : 20 .0 ,
1091+ "electricity_consumed_off_peak_cumulative" : 10263 .0 ,
10921092 "net_electricity_point" : 244 ,
10931093 }
10941094 }
@@ -1121,8 +1121,8 @@ async def test_connect_p1v3_full_option(self):
11211121 # Gateway / P1 itself
11221122 "e950c7d5e1ee407a858e2a8b5016c8b3" : {
11231123 "electricity_consumed_peak_point" : 0.0 ,
1124- "electricity_produced_peak_cumulative" : 396559 .0 ,
1125- "electricity_consumed_off_peak_cumulative" : 551090 .0 ,
1124+ "electricity_produced_peak_cumulative" : 397 .0 ,
1125+ "electricity_consumed_off_peak_cumulative" : 551 .0 ,
11261126 "electricity_produced_peak_point" : 2761.0 ,
11271127 "net_electricity_point" : - 2761.0 ,
11281128 "gas_consumed_cumulative" : 584.9 ,
0 commit comments