@@ -389,7 +389,6 @@ async def device_test(self, smile=pw_smile.Smile, testdata=None, preset=False):
389389 device_list = data [1 ]
390390
391391 if extra ["is_thermostat_gateway" ]:
392- self .active_device_present = extra ["active_device" ]
393392 self .cooling_present = extra ["cooling_present" ]
394393 self .notifications = extra ["notifications" ]
395394 self ._write_json ("all_data" , data )
@@ -654,7 +653,6 @@ async def test_connect_legacy_anna(self):
654653 _LOGGER .info (" # Assert master thermostat" )
655654 assert smile ._is_thermostat
656655 assert not smile ._multi_thermostats
657- assert self .active_device_present
658656 assert not self .notifications
659657
660658 await self .tinker_thermostat (
@@ -754,7 +752,6 @@ async def test_connect_legacy_anna_2(self):
754752 _LOGGER .info (" # Assert master thermostat" )
755753 assert smile ._is_thermostat
756754 assert not smile ._multi_thermostats
757- assert self .active_device_present
758755 assert not self .notifications
759756
760757 await self .tinker_thermostat (
@@ -950,7 +947,6 @@ async def test_connect_anna_v4(self):
950947 _LOGGER .info (" # Assert master thermostat" )
951948 assert smile ._is_thermostat
952949 assert not smile ._multi_thermostats
953- assert self .active_device_present
954950 assert not self .notifications
955951
956952 await self .tinker_thermostat (
@@ -1048,7 +1044,6 @@ async def test_connect_anna_without_boiler_fw3(self):
10481044 _LOGGER .info (" # Assert master thermostat" )
10491045 assert smile ._is_thermostat
10501046 assert not smile ._multi_thermostats
1051- assert self .active_device_present
10521047 assert not self .notifications
10531048
10541049 await self .tinker_thermostat (
@@ -1098,7 +1093,6 @@ async def test_connect_anna_without_boiler_fw4(self):
10981093 _LOGGER .info (" # Assert master thermostat" )
10991094 assert smile ._is_thermostat
11001095 assert not smile ._multi_thermostats
1101- assert self .active_device_present
11021096 assert not self .notifications
11031097
11041098 await self .tinker_thermostat (
@@ -1190,7 +1184,6 @@ async def test_connect_anna_without_boiler_fw42(self):
11901184 _LOGGER .info (" # Assert master thermostat" )
11911185 assert smile ._is_thermostat
11921186 assert not smile ._multi_thermostats
1193- assert self .active_device_present
11941187 assert not self .notifications
11951188
11961189 await self .tinker_thermostat (
@@ -1256,7 +1249,6 @@ async def test_connect_adam_plus_anna(self):
12561249 _LOGGER .info (" # Assert master thermostat" )
12571250 assert smile ._is_thermostat
12581251 assert not smile ._multi_thermostats
1259- assert self .active_device_present
12601252 assert not self .notifications
12611253
12621254 await self .tinker_thermostat (
@@ -1458,7 +1450,6 @@ async def test_connect_adam_plus_anna_new(self):
14581450 _LOGGER .info (" # Assert master thermostat" )
14591451 assert smile ._is_thermostat
14601452 assert smile ._multi_thermostats
1461- assert self .active_device_present
14621453
14631454 switch_change = await self .tinker_switch (
14641455 smile ,
@@ -1605,7 +1596,6 @@ async def test_connect_adam_zone_per_device(self):
16051596 _LOGGER .info (" # Assert master thermostat" )
16061597 assert smile ._is_thermostat
16071598 assert smile ._multi_thermostats
1608- assert self .active_device_present
16091599
16101600 assert "af82e4ccf9c548528166d38e560662a4" in self .notifications
16111601 await smile .delete_notification ()
@@ -2012,7 +2002,6 @@ async def test_connect_adam_multiple_devices_per_zone(self):
20122002 _LOGGER .info (" # Assert master thermostat" )
20132003 assert smile ._is_thermostat
20142004 assert smile ._multi_thermostats
2015- assert self .active_device_present
20162005
20172006 assert "af82e4ccf9c548528166d38e560662a4" in self .notifications
20182007
@@ -2258,7 +2247,6 @@ async def test_connect_anna_heatpump(self):
22582247 _LOGGER .info (" # Assert master thermostat" )
22592248 assert smile ._is_thermostat
22602249 assert not smile ._multi_thermostats
2261- assert self .active_device_present
22622250 assert self .cooling_present
22632251 assert not self .notifications
22642252
@@ -2315,7 +2303,6 @@ async def test_connect_anna_heatpump_cooling(self):
23152303 _LOGGER .info (" # Assert master thermostat" )
23162304 assert smile ._is_thermostat
23172305 assert not smile ._multi_thermostats
2318- assert self .active_device_present
23192306 assert self .cooling_present
23202307 assert not self .notifications
23212308
0 commit comments