@@ -110,9 +110,9 @@ def _appl_heater_central_info(
110110 # xml_3: self._modules for legacy, self._domain_objects for actual
111111 xml_3 = return_valid (xml_3 , self ._domain_objects )
112112 module_data = self ._get_module_data (xml_1 , locator_1 , xml_2 = xml_3 )
113- if not module_data ["contents " ]:
113+ if not module_data ["content " ]:
114114 module_data = self ._get_module_data (xml_1 , locator_2 , xml_2 = xml_3 )
115- if not module_data ["contents " ]:
115+ if not module_data ["content " ]:
116116 self ._heater_id = NONE
117117 return (
118118 Munch ()
@@ -133,7 +133,7 @@ def _appl_thermostat_info(
133133 locator = "./logs/point_log[type='thermostat']/thermostat"
134134 xml_2 = return_valid (xml_2 , self ._domain_objects )
135135 module_data = self ._get_module_data (xml_1 , locator , xml_2 = xml_2 )
136- if not module_data ["contents " ]:
136+ if not module_data ["content " ]:
137137 return Munch () # no module-data present means the device has been removed
138138
139139 appl .vendor_name = module_data ["vendor_name" ]
@@ -287,7 +287,7 @@ def _get_module_data(
287287 search = return_valid(xml_2, self._domain_objects)
288288 module = search.find(loc)
289289 if module is not None: # pylint: disable=consider-using-assignment-expr
290- module_data["contents "] = True
290+ module_data["content "] = True
291291 get_vendor_name(module, module_data)
292292 module_data["vendor_model"] = module.find("vendor_model").text
293293 module_data["hardware_version"] = module.find("hardware_version").text
0 commit comments