@@ -516,19 +516,19 @@ async def disconnect(cls, server, client):
516516 await server .close ()
517517
518518 @staticmethod
519- def show_setup (location_list , device_zone_list ):
519+ def show_setup (location_list , entity_list ):
520520 """Show informative outline of the setup."""
521521 _LOGGER .info ("This environment looks like:" )
522522 for loc_id , loc_info in location_list .items ():
523523 _LOGGER .info (
524524 " --> Location: %s" , "{} ({})" .format (loc_info ["name" ], loc_id )
525525 )
526526 devzone_count = 0
527- for devzone_id , devzone_info in device_zone_list .items ():
527+ for devzone_id , devzone_info in entity_list .items ():
528528 if devzone_info .get ("location" , "not_found" ) == loc_id :
529529 devzone_count += 1
530530 _LOGGER .info (
531- " + Device_Zone : %s" ,
531+ " + Entity : %s" ,
532532 "{} ({} - {})" .format (
533533 devzone_info ["name" ], devzone_info ["dev_class" ], devzone_id
534534 ),
@@ -595,7 +595,7 @@ def test_and_assert(test_dict, data, header):
595595 _LOGGER .debug ("Item %s test-asserts: %s" , testitem , item_asserts )
596596
597597 assert tests == asserts
598- _LOGGER .debug ("Total device_zone test-asserts: %s" , asserts )
598+ _LOGGER .debug ("Total entity test-asserts: %s" , asserts )
599599
600600 # pragma warning disable S3776
601601
@@ -639,14 +639,14 @@ def test_and_assert(test_dict, data, header):
639639 _LOGGER .info ("Skipping tests: Requested fixtures only" ) # pragma: no cover
640640 return # pragma: no cover
641641
642- self .device_list = list (data .device_zones .keys ())
642+ self .entity_list = list (data .entities .keys ())
643643 location_list = smile .loc_data
644644
645645 _LOGGER .info ("Gateway id = %s" , data .gateway ["gateway_id" ])
646646 _LOGGER .info ("Hostname = %s" , smile .smile_hostname )
647647 _LOGGER .info ("Gateway data = %s" , data .gateway )
648648 _LOGGER .info ("Entities list = %s" , data .entities )
649- self .show_setup (location_list , data .device_zones )
649+ self .show_setup (location_list , data .entities )
650650
651651 if skip_testing :
652652 return
0 commit comments