From 2956f29a205aa303eda40fd6b5fe947c3ae49a9e Mon Sep 17 00:00:00 2001 From: cschwinne Date: Mon, 22 Mar 2021 11:10:14 +0100 Subject: [PATCH] bump version --- src/Espalexa.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Espalexa.h b/src/Espalexa.h index 3323206..96e3b90 100644 --- a/src/Espalexa.h +++ b/src/Espalexa.h @@ -10,7 +10,7 @@ */ /* * @title Espalexa library - * @version 2.6.0 + * @version 2.7.0 * @author Christian Schwinne * @license MIT * @contributors d-999 @@ -49,7 +49,7 @@ #include #ifdef ESPALEXA_DEBUG - #pragma message "Espalexa 2.6.0 debug mode" + #pragma message "Espalexa 2.7.0 debug mode" #define EA_DEBUG(x) Serial.print (x) #define EA_DEBUGLN(x) Serial.println (x) #else @@ -161,7 +161,7 @@ class Espalexa { sprintf_P(buf, PSTR("{\"state\":{\"on\":%s,\"bri\":%u%s%s,\"alert\":\"none%s\",\"mode\":\"homeautomation\",\"reachable\":true}," "\"type\":\"%s\",\"name\":\"%s\",\"modelid\":\"%s\",\"manufacturername\":\"Philips\",\"productname\":\"E%u" - "\",\"uniqueid\":\"%s\",\"swversion\":\"espalexa-2.6.0\"}") + "\",\"uniqueid\":\"%s\",\"swversion\":\"espalexa-2.7.0\"}") , (dev->getValue())?"true":"false", dev->getLastValue()-1, buf_col, buf_ct, buf_cm, typeString(dev->getType()), dev->getName().c_str(), modelidString(dev->getType()), static_cast(dev->getType()), buf_lightid); @@ -186,7 +186,7 @@ class Espalexa { } res += "\r\nFree Heap: " + (String)ESP.getFreeHeap(); res += "\r\nUptime: " + (String)millis(); - res += "\r\n\r\nEspalexa library v2.6.0 by Christian Schwinne 2021"; + res += "\r\n\r\nEspalexa library v2.7.0 by Christian Schwinne 2021"; server->send(200, "text/plain", res); } #endif