Skip to content

Commit e567afe

Browse files
committed
Add/update comments
1 parent 97c9552 commit e567afe

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

plugwise/helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ def _all_appliances(self) -> None:
269269
for appliance in self._domain_objects.findall("./appliance"):
270270
appl = Munch()
271271
appl.pwclass = appliance.find("type").text
272-
# Extend device_class name of Plugs (Plugwise and Aqara)"
272+
# Extend device_class name of Plugs (Plugwise and Aqara) - Pw-Beta Issue #739
273273
description = appliance.find("description").text
274274
if description is not None and (
275275
"ZigBee protocol" in description or "smart plug" in description

plugwise/legacy/helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def _all_appliances(self) -> None:
116116
appl.location = self._home_location
117117
appl.dev_id = appliance.attrib["id"]
118118
appl.name = appliance.find("name").text
119-
# Extend device_class name when a Cirlce/Stealth has the type heater_central
119+
# Extend device_class name when a Circle/Stealth is type heater_central -- Pw-Beta Issue #739
120120
if (
121121
appl.pwclass == "heater_central"
122122
and appl.name != "Central heating boiler"

plugwise/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def check_heater_central(xml: etree) -> str:
9191
has_actuators: bool = (
9292
heater_central.find("actuator_functionalities/") is not None
9393
)
94-
# Filter for Plug/Circle/Stealth heater_central
94+
# Filter for Plug/Circle/Stealth heater_central -- Pw-Beta Issue #739
9595
if heater_central.find("name").text == "Central heating boiler":
9696
hc_list.append({hc_id: has_actuators})
9797

0 commit comments

Comments
 (0)