Skip to content

Commit

Permalink
NO_RESPONSE status is set correctly with sensors
Browse files Browse the repository at this point in the history
  • Loading branch information
radionoise committed Mar 25, 2019
1 parent 0572869 commit 23a5e31
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/utils/ServiceUtils.js
Expand Up @@ -69,6 +69,7 @@ module.exports = function(node) {

if (msg.payload[key] === noResponseMsg) {
node.accessory.updateReachability(false);
characteristic.setValue(new Error(noResponseMsg));

return;
}
Expand Down

0 comments on commit 23a5e31

Please sign in to comment.