diff --git a/README.md b/README.md index 1a3adf0..0e1acc7 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/package-lock.json b/package-lock.json index 1c44dcf..1cd2cf2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "homebridge-aqua-temp", - "version": "2.4.0", + "version": "2.4.1", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/package.json b/package.json index 688605a..701e749 100644 --- a/package.json +++ b/package.json @@ -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": { diff --git a/src/accessories/ThermostatAccessory.ts b/src/accessories/ThermostatAccessory.ts index ab7f8af..3658330 100644 --- a/src/accessories/ThermostatAccessory.ts +++ b/src/accessories/ThermostatAccessory.ts @@ -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);