move the Modbus instance to the parent class

This commit is contained in:
Stefan Allius
2024-05-13 19:49:00 +02:00
parent 92469456b7
commit 036af8e127
3 changed files with 5 additions and 2 deletions

View File

@@ -60,7 +60,6 @@ class SolarmanV5(Message):
self.snr = 0
self.db = InfosG3P()
self.time_ofs = 0
self.mb = Modbus()
self.forward_modbus_resp = False
self.switch = {