We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80a2e51 commit abd53b5Copy full SHA for abd53b5
plugwise/common.py
@@ -117,6 +117,9 @@ def _appl_thermostat_info(
117
locator = "./logs/point_log[type='thermostat']/thermostat"
118
xml_2 = return_valid(xml_2, self._domain_objects)
119
module_data = self._get_module_data(xml_1, locator, xml_2)
120
+ if not module_data["contents"]:
121
+ return Munch() # no module-data present means the device has been removed
122
+
123
appl.vendor_name = module_data["vendor_name"]
124
appl.model = module_data["vendor_model"]
125
if (
0 commit comments