From 2545d14324c5053a594b37b44590fa66efee90e8 Mon Sep 17 00:00:00 2001 From: aficustree Date: Mon, 18 Jun 2018 09:51:27 -0500 Subject: [PATCH] minor debug --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 511211b..cd865c6 100644 --- a/index.js +++ b/index.js @@ -226,7 +226,7 @@ class AlarmdecoderPlatform { stateObj.panel_armed_night = true; /* 0 = stay, 1 = away, 2 = night, 3 = disarmed, 4 = alarm */ this.log(JSON.stringify(stateObj)); - if(stateObj.panel_alarming || stateObj.panel_panicked) + if(stateObj.panel_alarming || stateObj.panel_panicked || stateObj.panel_fire_detected) this.alarmDecoderSystem.state = 4; else if(stateObj.panel_armed_night) this.alarmDecoderSystem.state = 2;