Skip to content

Commit c964847

Browse files
committed
Adapt @legacy
1 parent be7364f commit c964847

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugwise/legacy/helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ def _energy_device_info_finder(self, appliance: etree, appl: Munch) -> Munch:
232232
locator = "./services/electricity_point_meter"
233233
mod_type = "electricity_point_meter"
234234

235-
module_data = self._get_module_data(appliance, locator, mod_type, self._modules, legacy=True)
235+
module_data = self._get_module_data(appliance, self._modules, legacy=True)
236236
appl.zigbee_mac = module_data["zigbee_mac_address"]
237237
# Filter appliance without zigbee_mac, it's an orphaned device
238238
if appl.zigbee_mac is None and self.smile_type != "power":

0 commit comments

Comments
 (0)