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

@@ -42,7 +42,6 @@ class Talent(Message):
self.contact_name = b''
self.contact_mail = b''
self.db = InfosG3()
self.mb = Modbus()
self.forward_modbus_resp = False
self.switch = {
0x00: self.msg_contact_info,