Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to beta #258

Merged
merged 3 commits into from
Nov 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4019,7 +4019,7 @@ JeedomPlatform.prototype.getAccessoryValue = function(characteristic, service, i
break;
case Characteristic.LeakDetected.UUID :
for (const cmd of cmdList) {
if (cmd.generic_type == 'FLOOD' && cmd.id == service.cmd_id) {
if ((cmd.generic_type == 'FLOOD' || cmd.generic_type == 'WATER_LEAK') && cmd.id == service.cmd_id) {
// returnValue = parseInt(service.invertBinary)==0 ? toBool(cmd.currentValue) : !toBool(cmd.currentValue); // invertBinary ? // no need to invert
returnValue = toBool(cmd.currentValue);
if(returnValue === false) {
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@nebz/homebridge-jeedom",
"version": "v1.8.4",
"cust_serial": "0005",
"version": "v1.8.5",
"cust_serial": "0001",
"description": "Homebridge plugin for Jeedom ",
"main": "index.js",
"private":true,
Expand Down Expand Up @@ -29,7 +29,7 @@
"dependencies": {
"async": "3.2.6",
"axios": "1.7.7",
"express": "4.21.0",
"express": "5.0.1",
"fakegato-history": "NebzHB/fakegato-history#master"
},
"devDependencies": {
Expand Down
Loading