From 05a60ec927f6a39ebfa2b0a755b9277c165e0f3d Mon Sep 17 00:00:00 2001 From: LKuemmel Date: Wed, 9 Jul 2025 12:49:59 +0200 Subject: [PATCH] fix smarthome SDM --- packages/smarthome/smartmeas.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/smarthome/smartmeas.py b/packages/smarthome/smartmeas.py index 3c49bf9255..0550d6a89d 100644 --- a/packages/smarthome/smartmeas.py +++ b/packages/smarthome/smartmeas.py @@ -512,7 +512,7 @@ def sepwattread(self) -> Tuple[int, int]: try: # neu aus openwb 2.0 with modbus.ModbusTcpClient_(self._device_measureip, self._device_measureportsdm) as tcp_client: - sdm630 = sdm.Sdm630_72(self._device_measureid, tcp_client) + sdm630 = sdm.Sdm630_72(self._device_measureid, tcp_client, None) # log.warning(" sdm630 id %s " % ( str(id(sdm630)))) _, newwatt = sdm630.get_power() self.newwatt = int(newwatt)