fix pack polling
This commit is contained in:
1 parent
c3bfad0ea6
commit
6be2abaaf2
10 files changed
+16
-41
No files matched your search
@@ -45,7 +45,7 @@ class BluettiDevice:
|
||||
|
||||
@property
|
||||
def pack_num_field(self) -> List[ReadHoldingRegisters]:
|
||||
"""The address 'range' of the pack num"""
|
||||
"""The address 'range' of the pack num result. Matches pack_num_result"""
|
||||
return []
|
||||
|
||||
def has_field(self, field: str):
|
||||
|
||||
@@ -60,5 +60,5 @@ class ProtocolV1Device(BluettiDevice):
|
||||
@property
|
||||
def pack_num_field(self) -> List[ReadHoldingRegisters]:
|
||||
return [
|
||||
ReadHoldingRegisters(3006, 1),
|
||||
ReadHoldingRegisters(96, 1),
|
||||
]
|
||||
Reference in new issue
Block a user