Skip to content

Commit

Permalink
Merge pull request #87 from Patrick762/pack-polling-fix
Browse files Browse the repository at this point in the history
Fix writeable_ranges for pack_polling
  • Loading branch information
Patrick762 authored Apr 1, 2024
2 parents 5bd98d6 + a93b807 commit 0cd5ae1
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def polling_commands(self) -> List[ReadHoldingRegisters]:
def writable_ranges(self) -> List[range]:
return super().writable_ranges + [
range(3001, 3017),
range(3061),
range(3061, 3062),
]

@property
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def polling_commands(self) -> List[ReadHoldingRegisters]:
def writable_ranges(self) -> List[range]:
return super().writable_ranges + [
range(3001, 3017),
range(3061),
range(3061, 3062),
]

@property
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def polling_commands(self) -> List[ReadHoldingRegisters]:
def writable_ranges(self) -> List[range]:
return super().writable_ranges + [
range(3001, 3017),
range(3061),
range(3061, 3062),
]

@property
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def polling_commands(self) -> List[ReadHoldingRegisters]:
def writable_ranges(self) -> List[range]:
return super().writable_ranges + [
range(3001, 3017),
range(3061),
range(3061, 3062),
]

@property
Expand Down
2 changes: 1 addition & 1 deletion custom_components/bluetti_bt/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@
"iot_class": "local_polling",
"issue_tracker": "https://github.com/Patrick762/hassio-bluetti-bt/issues",
"requirements": [],
"version": "0.0.22"
"version": "0.0.23"
}

0 comments on commit 0cd5ae1

Please sign in to comment.