Jesse Kerkhoven 6 years ago
parent
commit
004139e9de
1 changed files with 1 additions and 1 deletions
  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]