@@ -34,7 +34,7 @@ async def test_connect_anna_v4(self):
3434 assert not self .notifications
3535
3636 assert not self .cooling_present
37- assert not self ._cooling_active
37+ assert not smile ._cooling_active
3838 assert not smile ._cooling_enabled
3939
4040 result = await self .tinker_thermostat (
@@ -196,7 +196,7 @@ async def test_connect_anna_heatpump_heating(self):
196196 assert not self .notifications
197197 assert self .cooling_present
198198 assert not smile ._cooling_enabled
199- assert not self ._cooling_active
199+ assert not smile ._cooling_active
200200
201201 with pytest .raises (pw_exceptions .PlugwiseError ) as exc :
202202 await self .tinker_thermostat (
@@ -252,7 +252,7 @@ async def test_connect_anna_heatpump_cooling(self):
252252 assert not self .notifications
253253
254254 assert smile ._cooling_enabled
255- assert self ._cooling_active
255+ assert smile ._cooling_active
256256
257257 with pytest .raises (pw_exceptions .PlugwiseError ) as exc :
258258 await self .tinker_thermostat (
@@ -295,7 +295,7 @@ async def test_connect_anna_heatpump_cooling_fake_firmware(self):
295295 assert self .entity_items == 64
296296 assert self .cooling_present
297297 assert smile ._cooling_enabled
298- assert self ._cooling_active
298+ assert smile ._cooling_active
299299
300300 await smile .close_connection ()
301301 await self .disconnect (server , client )
@@ -405,7 +405,7 @@ async def test_connect_anna_elga_2_cooling(self):
405405
406406 assert self .cooling_present
407407 assert smile ._cooling_enabled
408- assert self ._cooling_active
408+ assert smile ._cooling_active
409409
410410 # Simulate a change of season: from cooling to heating after an update_interval
411411 testdata_updated = self .load_testdata (
@@ -418,7 +418,7 @@ async def test_connect_anna_elga_2_cooling(self):
418418 )
419419 assert self .cooling_present
420420 assert not smile ._cooling_enabled
421- assert not self ._cooling_active
421+ assert not smile ._cooling_active
422422
423423 await smile .close_connection ()
424424 await self .disconnect (server , client )
0 commit comments