diff --git a/custom_components/fhem/__init__.py b/custom_components/fhem/__init__.py index 4d8a7c4..4aa8eb4 100644 --- a/custom_components/fhem/__init__.py +++ b/custom_components/fhem/__init__.py @@ -69,7 +69,10 @@ class FhemConnection(ReconnectingClient): if self._writer: line += '\n' self._writer.write(line.encode()) - + _LOGGER.debug(f"FHEM write line {line}") + else: + _LOGGER.debug(f"FHEM Failed to write line {line}") + def fhem_set(self, id, *arguments): """ Send command to FHEM using this device