Skip to content

Commit b7d3bc9

Browse files
committed
A bit more logging
1 parent 122e851 commit b7d3bc9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tion/tion.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,9 @@ def _connect(self):
113113
if tc.uuid == self.uuid_write:
114114
self.write = tc
115115

116-
117-
118116
def _try_write(self, request: bytearray):
119117
if self.mac != "dummy":
118+
_LOGGER.debug("Writing %s to %s", bytes(request).hex(), self.write.uuid())
120119
return self.write.write(request)
121120
else:
122121
_LOGGER.info("Dummy write")

0 commit comments

Comments
 (0)