Skip to content

Commit

Permalink
1.1.11
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrandlehner committed Nov 12, 2024
1 parent 44c188e commit deebb9d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,7 @@ Daikin.prototype = {
this.log.debug('getCurrentHumidity using %s', this.get_sensor_info);
this.sendGetRequest(this.get_sensor_info, body => {
const responseValues = this.parseResponse(body);
const currentHumidity = Number.parseFloat(responseValues.hhum);
const currentHumidity = (value => Number.isNaN(value) ? 0 : value)(Number.parseFloat(responseValues.hhum));
callback(null, currentHumidity);
});
},
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

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

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "homebridge-daikin-local",
"version": "1.1.10",
"version": "1.1.11",
"description": "daikin plugin for homebridge: https://github.com/homebridge/homebridge",
"license": "MIT",
"keywords": [
"homebridge-plugin",
"daikin"
],
"engines": {
"node": ">=18.17.0",
"homebridge": ">=1.6.1"
"node": "^18.19.1 || ^20.15.1",
"homebridge": "^1.6.1 || ^2.0.0-beta.0"
},
"author": "Christian Brandlehner",
"contributors": [
Expand Down

0 comments on commit deebb9d

Please # to comment.