Skip to content

Commit 5a688bc

Browse files
committed
No need to remove heater_central without active device
They were added for the wrong reason, now that we know Plugs/Circles etc. can be set as heater_central too.
1 parent e567afe commit 5a688bc

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

plugwise/common.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,6 @@ def _appl_heater_central_info(
5757
xml_3: etree = None,
5858
) -> Munch:
5959
"""Helper-function for _appliance_info_finder()."""
60-
# Remove heater_central when no active device present
61-
if not self._opentherm_device and not self._on_off_device:
62-
return None
63-
6460
# Find the valid heater_central
6561
# xml_2 self._appliances for legacy, self._domain_objects for actual
6662
xml_2 = return_valid(xml_2, self._domain_objects)

0 commit comments

Comments
 (0)