Less fhem output
This commit is contained in:
@@ -56,7 +56,7 @@ class FhemConnection(ReconnectingClient):
|
||||
if line.startswith(self._cul_device_name + " "): # Status update message
|
||||
_, device_name, command = line.split(" ", 2)
|
||||
for device in self._devices[device_name]:
|
||||
_LOGGER.debug("FHEM line received (device): " + device_name + ": " + line)
|
||||
#_LOGGER.debug("FHEM line received (device): " + device_name + ": " + line)
|
||||
await device.line_received(command.strip())
|
||||
else: # potential response to displayattr
|
||||
split_line = line.split(" ", 1)
|
||||
@@ -69,7 +69,7 @@ class FhemConnection(ReconnectingClient):
|
||||
if self._writer:
|
||||
line += '\n'
|
||||
self._writer.write(line.encode())
|
||||
_LOGGER.debug(f"FHEM write line {line}")
|
||||
#_LOGGER.debug(f"FHEM write line {line}")
|
||||
else:
|
||||
_LOGGER.debug(f"FHEM Failed to write line {line}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user