Jesse Kerkhoven %!s(int64=6) %!d(string=hai) anos
pai
achega
004139e9de
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      energymeter.py

+ 1 - 1
energymeter.py

@@ -850,7 +850,7 @@ class AsyncModbusTCPMeter(ModbusTCPMeter):
     async def read(self, regnames=None):
         if regnames is None:
             registers = self.REGS
-            return await self.read_multiple(registers)
+            return await self._read_multiple(registers)
 
         if isinstance(regnames, str):
             registers = [register for register in self.REGS if register['name'] == regnames]