@@ -490,7 +490,7 @@ async def tinker_thermostat_temp(
490490 _LOGGER .info ("Asserting modifying settings in location (%s):" , loc_id )
491491 test_temp = {"setpoint" : 22.9 }
492492 if smile ._cooling_present and not block_cooling :
493- test_temp = {"setpoint_low" : 19.5 , "setpoint_high" : 23.5 }
493+ test_temp = {"setpoint_low" : 19.5 , "setpoint_high" : 30.0 }
494494 _LOGGER .info ("- Adjusting temperature to %s" , test_temp )
495495 try :
496496 await smile .set_temperature (loc_id , test_temp )
@@ -3914,6 +3914,7 @@ async def test_connect_anna_heatpump_heating(self):
39143914 "dhw_state" : False ,
39153915 "heating_state" : True ,
39163916 "compressor_state" : True ,
3917+ "cooling_state" : False ,
39173918 "cooling_enabled" : False ,
39183919 "slave_boiler_state" : False ,
39193920 "flame_state" : False ,
@@ -3944,7 +3945,8 @@ async def test_connect_anna_heatpump_heating(self):
39443945 "setpoint" : - 0.5 ,
39453946 },
39463947 "thermostat" : {
3947- "setpoint" : 20.5 ,
3948+ "setpoint_low" : 20.5 ,
3949+ "setpoint_high" : 30.0 ,
39483950 "lower_bound" : 4.0 ,
39493951 "upper_bound" : 30.0 ,
39503952 "resolution" : 0.1 ,
@@ -3956,18 +3958,19 @@ async def test_connect_anna_heatpump_heating(self):
39563958 "mode" : "auto" ,
39573959 "sensors" : {
39583960 "temperature" : 19.3 ,
3959- "setpoint" : 20.5 ,
39603961 "illuminance" : 86.0 ,
39613962 "cooling_activation_outdoor_temperature" : 21.0 ,
39623963 "cooling_deactivation_threshold" : 4.0 ,
3964+ "setpoint_low" : 20.5 ,
3965+ "setpoint_high" : 30.0 ,
39633966 },
39643967 },
39653968 }
39663969 testdata_updated = {
39673970 "1cbf783bb11e4a7c8a6843dee3a86927" : {
39683971 "dev_class" : "heater_central" ,
39693972 "location" : "a57efe5f145f498c9be62a9b63626fbf" ,
3970- "model" : "Generic heater" ,
3973+ "model" : "Generic heater/cooler " ,
39713974 "name" : "OpenTherm" ,
39723975 "vendor" : "Techneco" ,
39733976 "maximum_boiler_temperature" : {
@@ -3981,6 +3984,7 @@ async def test_connect_anna_heatpump_heating(self):
39813984 "dhw_state" : False ,
39823985 "heating_state" : True ,
39833986 "compressor_state" : True ,
3987+ "cooling_state" : False ,
39843988 "cooling_enabled" : False ,
39853989 "slave_boiler_state" : False ,
39863990 "flame_state" : False ,
@@ -4014,7 +4018,7 @@ async def test_connect_anna_heatpump_heating(self):
40144018 await self .device_test (smile , "2020-04-12 00:00:01" , testdata )
40154019 assert smile .gateway_id == "015ae9ea3f964e668e490fa39da3870b"
40164020 assert smile ._last_active ["c784ee9fdab44e1395b8dee7d7a497d5" ] == "standaard"
4017- assert smile .device_items == 63
4021+ assert smile .device_items == 66
40184022 assert not self .notifications
40194023 assert self .cooling_present
40204024 assert not smile ._cooling_enabled
@@ -4036,7 +4040,7 @@ async def test_connect_anna_heatpump_heating(self):
40364040 await self .device_test (
40374041 smile , "2020-04-13 00:00:01" , testdata_updated , initialize = False
40384042 )
4039- assert smile .device_items == 60
4043+ assert smile .device_items == 63
40404044 await smile .close_connection ()
40414045 await self .disconnect (server , client )
40424046
0 commit comments