Skip to content

Commit

Permalink
fix: adjust restore idle state message type, fixes #2 (#39)
Browse files Browse the repository at this point in the history
* fix: adjust restore idle state message type, fixes #2

* ci: update python-semantic-release action
  • Loading branch information
cryptk committed Jun 22, 2023
1 parent 0a46fa2 commit 8524069
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
# - Create GitHub release
# - Publish to PyPI
- name: Python Semantic Release
uses: relekang/python-semantic-release@v7.33.2
uses: relekang/python-semantic-release@v7.34.6
with:
github_token: ${{ secrets.GH_TOKEN }}
repository_username: __token__
Expand Down
2 changes: 1 addition & 1 deletion pyomnilogic_local/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -500,4 +500,4 @@ async def async_restore_idle_state(self) -> None:

req_body = ET.tostring(body_element, xml_declaration=True, encoding="unicode")

return await self.async_send_message(MessageType.SET_SUPERCHLORINATE, req_body, False)
return await self.async_send_message(MessageType.RESTORE_IDLE_STATE, req_body, False)
1 change: 1 addition & 0 deletions pyomnilogic_local/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ class MessageType(Enum):
GET_TELEMETRY = 300
GET_ALARM_LIST = 304
SET_STANDALONE_LIGHT_SHOW = 308
RESTORE_IDLE_STATE = 340
GET_FILTER_DIAGNOSTIC_INFO = 386
HANDSHAKE = 1000
ACK = 1002
Expand Down

0 comments on commit 8524069

Please sign in to comment.