Skip to content

Commit

Permalink
Update accessory.js
Browse files Browse the repository at this point in the history
  • Loading branch information
cflurin committed Jun 23, 2021
1 parent 1c3988e commit ef0c98a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/accessory.js
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ Accessory.prototype.get = function(callback, context, displayName, iid) {
get(this.name, service_name, this.service_types[this.name], c, value, callback);

//this.log.debug("Accessory.get %s %s %s", this.name, c, value);
if (value) {
if (value !== null) {
callback(null, value);
} else {
callback("no response");
Expand Down

0 comments on commit ef0c98a

Please sign in to comment.