Skip to content

Commit

Permalink
2.4.1 Fixed that target temp cant be lower then 10
Browse files Browse the repository at this point in the history
  • Loading branch information
hjuhlin committed Apr 14, 2023
1 parent fa81195 commit 2a0c08b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ This is a plugin for Aqua Temp pool heater.

- Fixed null problem when heater is offline

2.4.0
2.4.1

- Fixed that target temp cant be lower then 10 (that is not allowed in Homekit)

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"private": false,
"displayName": "Aqua Temp Plugin",
"name": "homebridge-aqua-temp",
"version": "2.4.0",
"version": "2.4.1",
"description": "This is a plugin for Aqua Temp pool heater.",
"license": "Apache-2.0",
"repository": {
Expand Down
4 changes: 4 additions & 0 deletions src/accessories/ThermostatAccessory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,10 @@ export class ThermostatAccessory {
return;
}

if (value<10) {
value=10;
}

const temp = value as string;

const httpRequest = new HttpRequest(this.config, this.log);
Expand Down

0 comments on commit 2a0c08b

Please sign in to comment.