Dilbert66 / esphome-vistaECP

This is an implementation of an ESPHOME custom component and ESP Library to interface directly to a Safewatch/Honeywell/Ademco Vista 15/20 alarm system using the ECP interface and very inexpensive ESP8266/ESP32 modules .
GNU Lesser General Public License v2.1
124 stars 21 forks source link

'ARMED' was not declared in this scope #71

Closed AlexandreUSA closed 2 years ago

AlexandreUSA commented 2 years ago

Using the latest files, I am getting the following error:

In file included from src/main.cpp:76:0: src/vistaAlarm.h: In member function 'virtual void esphome::vistaECPHome::update()': src/vistaAlarm.h:799:28: error: 'ARMED' was not declared in this scope if (strstr(p1, ARMED) && vista.statusFlags.systemFlag) { ^

Going back to older files, the error disapears.

Dilbert66 commented 2 years ago

Fixed.

AlexandreUSA commented 2 years ago

Fixed confirmed. Thank you !