@@ -360,7 +360,7 @@ def _all_locations(self) -> None:
360360 self .loc_data [loc .loc_id ] = {"name" : loc .name }
361361
362362 def _p1_smartmeter_info_finder (self , appl : Munch ) -> None :
363- """Collect P1 DSMR Smartmeter info."""
363+ """Collect P1 DSMR SmartMeter info."""
364364 loc_id = next (iter (self .loc_data .keys ()))
365365 location = self ._domain_objects .find (f'./location[@id="{ loc_id } "]' )
366366 locator = "./logs/point_log/electricity_point_meter"
@@ -372,8 +372,8 @@ def _p1_smartmeter_info_finder(self, appl: Munch) -> None:
372372 appl .hardware = module_data ["hardware_version" ]
373373 appl .location = loc_id
374374 appl .mac = None
375- appl .model = module_data ["vendor_model" ] # don't use model_id for Smartmeter
376- appl .model_id = None
375+ appl .model = module_data ["vendor_model" ]
376+ appl .model_id = None # don't use model_id for SmartMeter
377377 appl .name = "P1"
378378 appl .pwclass = "smartmeter"
379379 appl .vendor_name = module_data ["vendor_name" ]
@@ -382,7 +382,7 @@ def _p1_smartmeter_info_finder(self, appl: Munch) -> None:
382382 self ._create_gw_devices (appl )
383383
384384 def _appliance_info_finder (self , appl : Munch , appliance : etree ) -> Munch :
385- """Collect device info (Smile/Stretch, Thermostats, OpenTherm/On-Off): firmware, model and vendor name ."""
385+ """Collect info for all appliances found ."""
386386 match appl .pwclass :
387387 case "gateway" :
388388 # Collect gateway device info
0 commit comments