diff --git a/custom_components/weishaupt_modbus/test_modbus.py b/custom_components/weishaupt_modbus/test_modbus.py index a05c17e..7f27983 100644 --- a/custom_components/weishaupt_modbus/test_modbus.py +++ b/custom_components/weishaupt_modbus/test_modbus.py @@ -34,6 +34,7 @@ async def main(): # noqa: D103 val = rr.registers[0] except ModbusException as exc: val = exc + print(val) if rr.isError(): val = rr if isinstance(rr, ExceptionResponse):