Skip to content

Commit

Permalink
Merge pull request #66 from radical-squared/fix-api-params-typo
Browse files Browse the repository at this point in the history
Fix APIParam class
  • Loading branch information
elad-bar authored Jul 17, 2023
2 parents 91b6dbf + b07aaa9 commit 91fffd7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v3.0.23

- Fix APIParam class, caused corrupted data on component creation and error code handling

## v3.0.22

- Fix binary sensor state evaluation
Expand Down
4 changes: 2 additions & 2 deletions custom_components/aqua_temp/common/api_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ class APIParam(StrEnum):
IsFault = "is_fault"
ErrorMessage = "error_msg"
ErrorCode = "error_code"
Nickname = ("device_nick_name",)
DeviceId = ("device_id",)
Nickname = "device_nick_name"
DeviceId = "device_id"
CustomModel = "cust_model"


Expand Down
2 changes: 1 addition & 1 deletion custom_components/aqua_temp/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
"iot_class": "cloud_polling",
"issue_tracker": "https://github.com/radical-squared/aquatemp/issues",
"requirements": [],
"version": "3.0.22"
"version": "3.0.23"
}

0 comments on commit 91fffd7

Please sign in to comment.