@@ -35,7 +35,7 @@ async def test_connect_anna_v4(self):
3535
3636 assert not self .cooling_present
3737 assert not self ._cooling_active
38- assert not self ._cooling_enabled
38+ assert not smile ._cooling_enabled
3939
4040 result = await self .tinker_thermostat (
4141 smile ,
@@ -195,7 +195,7 @@ async def test_connect_anna_heatpump_heating(self):
195195 assert self .entity_items == 67
196196 assert not self .notifications
197197 assert self .cooling_present
198- assert not self ._cooling_enabled
198+ assert not smile ._cooling_enabled
199199 assert not self ._cooling_active
200200
201201 with pytest .raises (pw_exceptions .PlugwiseError ) as exc :
@@ -251,7 +251,7 @@ async def test_connect_anna_heatpump_cooling(self):
251251 assert self .cooling_present
252252 assert not self .notifications
253253
254- assert self ._cooling_enabled
254+ assert smile ._cooling_enabled
255255 assert self ._cooling_active
256256
257257 with pytest .raises (pw_exceptions .PlugwiseError ) as exc :
@@ -294,7 +294,7 @@ async def test_connect_anna_heatpump_cooling_fake_firmware(self):
294294 await self .device_test (smile , "2020-04-19 00:00:01" , testdata )
295295 assert self .entity_items == 64
296296 assert self .cooling_present
297- assert self ._cooling_enabled
297+ assert smile ._cooling_enabled
298298 assert self ._cooling_active
299299
300300 await smile .close_connection ()
@@ -349,7 +349,7 @@ async def test_connect_anna_elga_2(self):
349349 assert self .entity_items == 63
350350 assert smile .gateway_id == "fb49af122f6e4b0f91267e1cf7666d6f"
351351 assert self .cooling_present
352- assert not self ._cooling_enabled
352+ assert not smile ._cooling_enabled
353353 assert not self .notifications
354354
355355 await smile .close_connection ()
@@ -370,7 +370,7 @@ async def test_connect_anna_elga_2_schedule_off(self):
370370 == THERMOSTAT_SCHEDULE
371371 )
372372 assert self .cooling_present
373- assert not self ._cooling_enabled
373+ assert not smile ._cooling_enabled
374374 assert self .entity_items == 63
375375
376376 await smile .close_connection ()
@@ -404,7 +404,7 @@ async def test_connect_anna_elga_2_cooling(self):
404404 assert not self .notifications
405405
406406 assert self .cooling_present
407- assert self ._cooling_enabled
407+ assert smile ._cooling_enabled
408408 assert self ._cooling_active
409409
410410 # Simulate a change of season: from cooling to heating after an update_interval
@@ -417,7 +417,7 @@ async def test_connect_anna_elga_2_cooling(self):
417417 smile , "2020-04-05 00:00:01" , testdata_updated , initialize = False
418418 )
419419 assert self .cooling_present
420- assert not self ._cooling_enabled
420+ assert not smile ._cooling_enabled
421421 assert not self ._cooling_active
422422
423423 await smile .close_connection ()
@@ -442,7 +442,7 @@ async def test_connect_anna_loria_heating_idle(self):
442442 assert smile ._last_active ["15da035090b847e7a21f93e08c015ebc" ] == "Winter"
443443 assert self .entity_items == 66
444444 assert self .cooling_present
445- assert not self ._cooling_enabled
445+ assert not smile ._cooling_enabled
446446
447447 switch_change = await self .tinker_switch (
448448 smile ,
@@ -508,7 +508,7 @@ async def test_connect_anna_loria_cooling_active(self):
508508 assert smile ._last_active ["15da035090b847e7a21f93e08c015ebc" ] == "Winter"
509509 assert self .entity_items == 66
510510 assert self .cooling_present
511- assert self ._cooling_enabled
511+ assert smile ._cooling_enabled
512512
513513 await smile .close_connection ()
514514 await self .disconnect (server , client )
@@ -531,7 +531,7 @@ async def test_connect_anna_loria_driessens(self):
531531 await self .device_test (smile , "2022-05-16 00:00:01" , testdata )
532532 assert self .entity_items == 66
533533 assert self .cooling_present
534- assert not self ._cooling_enabled
534+ assert not smile ._cooling_enabled
535535
536536 await smile .close_connection ()
537537 await self .disconnect (server , client )
0 commit comments