From: Benjamin Braatz Date: Wed, 2 Feb 2022 11:26:20 +0000 (+0100) Subject: Bugfix X-Git-Url: http://git.graph-it.com/?a=commitdiff_plain;h=1136a9d38a5a04b9c3ba34de6acc6b563f367e25;p=graphit%2Fschaltschrank.git Bugfix --- diff --git a/gmodbus/hitachi.py b/gmodbus/hitachi.py index 58bb4e9..50ad224 100644 --- a/gmodbus/hitachi.py +++ b/gmodbus/hitachi.py @@ -18,8 +18,7 @@ class SJP1Fu(): async def check_parameters(self) -> None: for register in self.registers: current = int(await self.__protocol.read_register(register)) - if current != value: - print(f"Register {register}: {current}") + print(f"Register {register}: {current}") parameters = [(12015, 1), (12220, 0), (13022, 2), (13023, 37), (13024, 5), (13110, 2), (14140, 0), (15102, 11), (15103, 1)]