@@ -1769,7 +1769,6 @@ async def test_connect_adam_plus_anna_new(self):
17691769 "available_schedules" : ["Weekschema" , "Badkamer" , "Test" ],
17701770 "select_schedule" : "Weekschema" ,
17711771 "last_used" : "Weekschema" ,
1772- "control_state" : "heating" ,
17731772 "mode" : "auto" ,
17741773 "sensors" : {"temperature" : 18.1 , "setpoint" : 18.5 },
17751774 },
@@ -1863,7 +1862,6 @@ async def test_connect_adam_plus_anna_new(self):
18631862 "available_schedules" : ["Weekschema" , "Badkamer" , "Test" ],
18641863 "select_schedule" : "Badkamer" ,
18651864 "last_used" : "Badkamer" ,
1866- "control_state" : "off" ,
18671865 "mode" : "auto" ,
18681866 "sensors" : {"temperature" : 17.9 , "setpoint" : 15.0 , "battery" : 56 },
18691867 },
@@ -1957,7 +1955,7 @@ async def test_connect_adam_plus_anna_new(self):
19571955
19581956 await self .device_test (smile , "2022-01-16 00:00:01" , testdata )
19591957 assert smile .gateway_id == "da224107914542988a88561b4452b0f6"
1960- assert self .device_items == 147
1958+ assert self .device_items == 145
19611959
19621960 result = await self .tinker_thermostat (
19631961 smile ,
@@ -2920,7 +2918,6 @@ async def test_adam_heatpump_cooling(self):
29202918 "active_preset" : "away" ,
29212919 "available" : True ,
29222920 "available_schedules" : ["Opstaan weekdag" , "Werkdag schema" , "Weekend" ],
2923- "control_state" : "off" ,
29242921 "dev_class" : "zone_thermostat" ,
29252922 "firmware" : "2016-10-10T02:00:00+02:00" ,
29262923 "hardware" : "255" ,
@@ -3019,7 +3016,6 @@ async def test_adam_heatpump_cooling(self):
30193016 "active_preset" : "away" ,
30203017 "available" : True ,
30213018 "available_schedules" : ["Opstaan weekdag" , "Werkdag schema" , "Weekend" ],
3022- "control_state" : "off" ,
30233019 "dev_class" : "zone_thermostat" ,
30243020 "firmware" : "2016-10-10T02:00:00+02:00" ,
30253021 "hardware" : "255" ,
@@ -3087,7 +3083,6 @@ async def test_adam_heatpump_cooling(self):
30873083 "active_preset" : "away" ,
30883084 "available" : True ,
30893085 "available_schedules" : ["Opstaan weekdag" , "Werkdag schema" , "Weekend" ],
3090- "control_state" : "off" ,
30913086 "dev_class" : "zone_thermostat" ,
30923087 "firmware" : "2016-10-10T02:00:00+02:00" ,
30933088 "hardware" : "255" ,
@@ -3202,7 +3197,6 @@ async def test_adam_heatpump_cooling(self):
32023197 "active_preset" : "away" ,
32033198 "available" : True ,
32043199 "available_schedules" : ["Opstaan weekdag" , "Werkdag schema" , "Weekend" ],
3205- "control_state" : "off" ,
32063200 "dev_class" : "zone_thermostat" ,
32073201 "firmware" : "2016-10-10T02:00:00+02:00" ,
32083202 "hardware" : "255" ,
@@ -3232,7 +3226,6 @@ async def test_adam_heatpump_cooling(self):
32323226 "active_preset" : "away" ,
32333227 "available" : True ,
32343228 "available_schedules" : ["Opstaan weekdag" , "Werkdag schema" , "Weekend" ],
3235- "control_state" : "off" ,
32363229 "dev_class" : "zone_thermostat" ,
32373230 "firmware" : "2016-10-10T02:00:00+02:00" ,
32383231 "hardware" : "255" ,
@@ -3261,7 +3254,6 @@ async def test_adam_heatpump_cooling(self):
32613254 "ca79d23ae0094120b877558734cff85c" : {
32623255 "active_preset" : "away" ,
32633256 "available_schedules" : ["Opstaan weekdag" , "Werkdag schema" , "Weekend" ],
3264- "control_state" : "off" ,
32653257 "dev_class" : "thermostat" ,
32663258 "last_used" : "Werkdag schema" ,
32673259 "location" : "fa5fa6b34f6b40a0972988b20e888ed4" ,
@@ -3288,7 +3280,6 @@ async def test_adam_heatpump_cooling(self):
32883280 "active_preset" : "away" ,
32893281 "available" : True ,
32903282 "available_schedules" : ["Opstaan weekdag" , "Werkdag schema" , "Weekend" ],
3291- "control_state" : "off" ,
32923283 "dev_class" : "zone_thermostat" ,
32933284 "firmware" : "2016-10-10T02:00:00+02:00" ,
32943285 "hardware" : "255" ,
@@ -3318,7 +3309,6 @@ async def test_adam_heatpump_cooling(self):
33183309 "active_preset" : "away" ,
33193310 "available" : True ,
33203311 "available_schedules" : ["Opstaan weekdag" , "Werkdag schema" , "Weekend" ],
3321- "control_state" : "off" ,
33223312 "dev_class" : "zone_thermostat" ,
33233313 "firmware" : "2016-10-10T02:00:00+02:00" ,
33243314 "hardware" : "255" ,
@@ -3349,7 +3339,6 @@ async def test_adam_heatpump_cooling(self):
33493339 "active_preset" : "away" ,
33503340 "available" : True ,
33513341 "available_schedules" : ["Opstaan weekdag" , "Werkdag schema" , "Weekend" ],
3352- "control_state" : "off" ,
33533342 "dev_class" : "zone_thermostat" ,
33543343 "firmware" : "2016-10-10T02:00:00+02:00" ,
33553344 "hardware" : "255" ,
@@ -3379,7 +3368,6 @@ async def test_adam_heatpump_cooling(self):
33793368 "active_preset" : "away" ,
33803369 "available" : True ,
33813370 "available_schedules" : ["Opstaan weekdag" , "Werkdag schema" , "Weekend" ],
3382- "control_state" : "off" ,
33833371 "dev_class" : "zone_thermostat" ,
33843372 "firmware" : "2016-10-10T02:00:00+02:00" ,
33853373 "hardware" : "255" ,
@@ -3411,7 +3399,7 @@ async def test_adam_heatpump_cooling(self):
34113399 server , smile , client = await self .connect_wrapper ()
34123400
34133401 await self .device_test (smile , "2022-01-02 00:00:01" , testdata )
3414- assert self .device_items == 443
3402+ assert self .device_items == 433
34153403
34163404 await smile .close_connection ()
34173405 await self .disconnect (server , client )
@@ -3474,7 +3462,6 @@ async def test_adam_plus_jip(self):
34743462 "available_schedules" : ["None" ],
34753463 "select_schedule" : "None" ,
34763464 "last_used" : None ,
3477- "control_state" : "off" ,
34783465 "mode" : "heat" ,
34793466 "sensors" : {"temperature" : 30.0 , "setpoint" : 13.0 , "battery" : 80 },
34803467 },
@@ -3499,7 +3486,6 @@ async def test_adam_plus_jip(self):
34993486 "available_schedules" : ["None" ],
35003487 "select_schedule" : "None" ,
35013488 "last_used" : None ,
3502- "control_state" : "off" ,
35033489 "mode" : "heat" ,
35043490 "sensors" : {"temperature" : 24.2 , "setpoint" : 13.0 , "battery" : 92 },
35053491 },
@@ -3541,7 +3527,6 @@ async def test_adam_plus_jip(self):
35413527 "available_schedules" : ["None" ],
35423528 "select_schedule" : "None" ,
35433529 "last_used" : None ,
3544- "control_state" : "off" ,
35453530 "mode" : "heat" ,
35463531 "sensors" : {"temperature" : 30.0 , "setpoint" : 13.0 , "battery" : 79 },
35473532 },
@@ -3566,7 +3551,6 @@ async def test_adam_plus_jip(self):
35663551 "available_schedules" : ["None" ],
35673552 "select_schedule" : "None" ,
35683553 "last_used" : None ,
3569- "control_state" : "off" ,
35703554 "mode" : "heat" ,
35713555 "sensors" : {
35723556 "temperature" : 27.4 ,
@@ -3659,7 +3643,7 @@ async def test_adam_plus_jip(self):
36593643
36603644 await self .device_test (smile , "2021-06-20 00:00:01" , testdata )
36613645 assert smile .gateway_id == "b5c2386c6f6342669e50fe49dd05b188"
3662- assert self .device_items == 223
3646+ assert self .device_items == 219
36633647
36643648 # Negative test
36653649 result = await self .tinker_thermostat (
@@ -4218,7 +4202,7 @@ async def test_connect_adam_onoff_cooling_fake_firmware(self):
42184202 assert smile .smile_type == "thermostat"
42194203
42204204 await self .device_test (smile , "2022-01-02 00:00:01" , testdata )
4221- assert self .device_items == 57
4205+ assert self .device_items == 56
42224206 assert smile ._cooling_present
42234207 assert smile ._cooling_enabled
42244208
0 commit comments