From 78c4f43496d2ce928372a5feaecf2caa422d6568 Mon Sep 17 00:00:00 2001 From: Koenkk Date: Mon, 21 May 2018 11:51:53 +0200 Subject: [PATCH] Update controller.js --- lib/controller.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/controller.js b/lib/controller.js index 4231da24..d0e07b0f 100644 --- a/lib/controller.js +++ b/lib/controller.js @@ -20,10 +20,7 @@ class Controller { constructor() { this.zigbee = new Zigbee(); this.mqtt = new MQTT(); - - this.stateCache = {}; // Caches messages from devices. - this.resetTimer = null; // After 1 hour of no message, reset CC2531 timer. - + this.stateCache = {}; this.handleZigbeeMessage = this.handleZigbeeMessage.bind(this); this.handleMQTTMessage = this.handleMQTTMessage.bind(this); }