fix recv_resp method call

This commit is contained in:
Stefan Allius
2024-10-16 23:25:18 +02:00
parent c5f184a730
commit 6122f40718

View File

@@ -654,8 +654,7 @@ class SolarmanV5(Message):
# logger.info(f'first byte modbus:{data[14]}')
inv_update = False
self.modbus_elms = 0
for key, update, _ in self.mb.recv_resp(self.db, data[14:],
self.node_id):
for key, update, _ in self.mb.recv_resp(self.db, data[14:]):
self.modbus_elms += 1
if update:
if key == 'inverter':