Update controller.js

This commit is contained in:
Koenkk
2018-05-21 11:52:16 +02:00
parent 26f378237f
commit 78c4f43496
+1 -4
View File
@@ -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);
}