From ef0c98a107be681811ccab848c3928f3611e8c92 Mon Sep 17 00:00:00 2001 From: cflurin Date: Wed, 23 Jun 2021 14:58:25 +0200 Subject: [PATCH] Update accessory.js --- lib/accessory.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/accessory.js b/lib/accessory.js index 29feed4..839ea0e 100644 --- a/lib/accessory.js +++ b/lib/accessory.js @@ -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");