We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent abd0a29 commit 260476aCopy full SHA for 260476a
1 file changed
packages/smarthome/smartmeas.py
@@ -533,7 +533,7 @@ def sepwattread(self) -> Tuple[int, int]:
533
try:
534
# neu aus openwb 2.0
535
with modbus.ModbusTcpClient_(self._device_measureip, self._device_measureportsdm) as tcp_client:
536
- sdm120 = sdm.Sdm120(self._device_measureid, tcp_client)
+ sdm120 = sdm.Sdm120(self._device_measureid, tcp_client, None)
537
_, newwatt = sdm120.get_power()
538
self.newwatt = int(newwatt)
539
self.newwattk = int(sdm120.get_imported())
0 commit comments