Skip to content

Commit 367391b

Browse files
committed
Move debug-logger
1 parent d8ae204 commit 367391b

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

plugwise/helper.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,6 @@ def _get_actuator_functionalities(
567567

568568
act_item = cast(ActuatorType, item)
569569
data[act_item] = temp_dict
570-
LOGGER.debug("HOI 2 data: %s", data)
571570

572571
def _get_actuator_mode(
573572
self, appliance: etree.Element, entity_id: str, key: str
@@ -821,7 +820,6 @@ def _control_state(self, data: GwEntityData) -> str | bool:
821820
Note: heating or cooling can still be active when the setpoint has been reached.
822821
"""
823822
if (thermostat := data.get("thermostat")) is None:
824-
LOGGER.warning("Something wrong, incomplete thermostat data")
825823
return
826824

827825
if (ctrl_state := thermostat.get("control_state")) is not None:
@@ -866,6 +864,7 @@ def _regulation_control(self, data: GwEntityData) -> None:
866864
867865
Adam: collect the thermostat regulation_control state of a location.
868866
"""
867+
LOGGER.debug("HOI 2 data: %s", data)
869868
if (thermostat := data.get("thermostat")) is None:
870869
LOGGER.warning("Something wrong, incomplete thermostat data")
871870
return

0 commit comments

Comments
 (0)