Skip to content

Commit 91f7d46

Browse files
committed
Add collected_pulses debug-logging
1 parent 4883df8 commit 91f7d46

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

plugwise_usb/nodes/helpers/pulses.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,13 @@ def collected_pulses(
196196
is_consumption,
197197
)
198198
return (None, None)
199+
_LOGGER.debug(
200+
"collected_pulses | pulses=%s | log_pulses=%s | consumption=%s at timestamp=%s",
201+
pulses,
202+
log_pulses,
203+
is_consumption,
204+
timestamp,
205+
)
199206
return (pulses + log_pulses, timestamp)
200207

201208
def _collect_pulses_from_logs(

0 commit comments

Comments
 (0)