Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
hohmannc85 authored Aug 22, 2023
1 parent 17dd1b1 commit 7da1d99
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -346,8 +346,8 @@ sendDevicestate(deviceid,devicestate) {
'.'+ JSON.stringify(key_sub5);

otherstates = otherstates.replace(/["]/g, "");

this.Dataset(otherstates, obj_sub5.replace(/["]/g, ""));
this.Dataset(otherstates, obj_sub5.value);
//this.Dataset(otherstates, obj_sub5.replace(/["]/g, ""));

}

Expand Down Expand Up @@ -390,4 +390,4 @@ if (module.parent) {
} else {
// otherwise start the instance directly
new Bjfreeathome();
}
}

0 comments on commit 7da1d99

Please sign in to comment.