Skip to content

Commit 6f4964d

Browse files
committed
Implement suggestion
1 parent d2e0808 commit 6f4964d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

plugwise/util.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,7 @@ def check_heater_central(xml: etree) -> str:
9292
heater_central.find("actuator_functionalities/") is not None
9393
)
9494
# Filter for Plug/Circle/Stealth heater_central
95-
hc_name = heater_central.find("name").text
96-
if hc_name == "Central heating boiler":
95+
if heater_central.find("name").text == "Central heating boiler":
9796
hc_list.append({hc_id: has_actuators})
9897

9998
heater_central_id = list(hc_list[0].keys())[0]

0 commit comments

Comments
 (0)