Skip to content

Commit 921ad7a

Browse files
committed
Clean-up
1 parent f111898 commit 921ad7a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

plugwise_usb/messages/properties.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,13 @@
22

33
import binascii
44
from datetime import UTC, date, datetime, time, timedelta
5-
import logging
65
import struct
76
from typing import Any
87

98
from ..constants import LOGADDR_OFFSET, PLUGWISE_EPOCH, UTF8
109
from ..exceptions import MessageError
1110
from ..helpers.util import int_to_uint
1211

13-
_LOGGER = logging.getLogger(__name__)
1412

1513
class BaseType:
1614
"""Generic single instance property."""
@@ -230,7 +228,6 @@ def __init__(self, year: int = 0, month: int = 1, minutes: int = 0) -> None:
230228
def deserialize(self, val: bytes) -> None:
231229
"""Convert data into datetime based on timestamp with offset to Y2k."""
232230
if val == b"FFFFFFFF" or val == b"00000000":
233-
_LOGGER.debug("Invalid DateTime value result")
234231
self._value = None
235232
else:
236233
CompositeType.deserialize(self, val)

0 commit comments

Comments
 (0)