Skip to content

Commit 9d185a5

Browse files
committed
Remove debug-logging used for testing
1 parent 03f057c commit 9d185a5

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

plugwise_usb/nodes/helpers/pulses.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -507,21 +507,9 @@ def _update_log_direction(
507507
if self._logs is None:
508508
return
509509

510-
_LOGGER.debug(
511-
"_update_log_direction | address=%s | slot=%s | timestamp=%s",
512-
address,
513-
slot,
514-
timestamp,
515-
)
516510
prev_address, prev_slot = calc_log_address(address, slot, -1)
517511
if self._log_exists(prev_address, prev_slot):
518512
prev_timestamp = self._logs[prev_address][prev_slot].timestamp
519-
_LOGGER.debug(
520-
"_update_log_direction | pr_address=%s | pr_slot=%s | timestamp=%s",
521-
prev_address,
522-
prev_slot,
523-
prev_timestamp,
524-
)
525513
if not self._prev_log_exists:
526514
self._prev_log_exists = True
527515
if prev_timestamp == timestamp:
@@ -543,12 +531,6 @@ def _update_log_direction(
543531
next_address, next_slot = calc_log_address(address, slot, 1)
544532
if self._log_exists(next_address, next_slot):
545533
next_timestamp = self._logs[next_address][next_slot].timestamp
546-
_LOGGER.debug(
547-
"_update_log_direction | nxt_address=%s | nxt_slot=%s | timestamp=%s",
548-
next_address,
549-
next_slot,
550-
next_timestamp,
551-
)
552534
if not self._next_log_exists:
553535
self._next_log_exists = True
554536
if next_timestamp == timestamp:

0 commit comments

Comments
 (0)