From 2dad2120445c0c8f5562e1d6002b21607b5d4f72 Mon Sep 17 00:00:00 2001 From: lkankowski Date: Thu, 29 Apr 2021 21:03:34 +0200 Subject: [PATCH] Remove V_ARMED state --- src/main.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index e3094d0..467300b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -205,10 +205,6 @@ void setup() { myMessage.setType(V_STATUS); for (int relayNum = 0; relayNum < gNumberOfRelays; relayNum++) { myMessage.setSensor(gRelay[relayNum].getSensorId()); - // if (gRelay[relayNum].isSensor()) { - // myMessage.setType(V_ARMED); - // send(myMessage.set(true)); - // } myMessage.setType(gRelay[relayNum].isSensor() ? V_TRIPPED : V_STATUS); send(myMessage.set(gRelay[relayNum].getState())); // send current state }