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)