diff --git a/src/emsdevice.cpp b/src/emsdevice.cpp index b32d9fa46..c7352134e 100644 --- a/src/emsdevice.cpp +++ b/src/emsdevice.cpp @@ -947,7 +947,7 @@ void EMSdevice::generate_values_web_customization(JsonArray & output) { obj["m"] = dv.state >> 4; // send back the mask state. We're only interested in the high nibble obj["w"] = dv.has_cmd; // if writable - if (dv.has_cmd && (obj["v"].is() || obj["v"].is())) { + if (dv.has_cmd && (obj["v"].is() || obj["v"].is())) { // set the min and max values if there are any and if entity has a value int16_t dv_set_min; uint16_t dv_set_max; diff --git a/src/web/WebStatusService.h b/src/web/WebStatusService.h index fea0a8728..2208979ed 100644 --- a/src/web/WebStatusService.h +++ b/src/web/WebStatusService.h @@ -30,11 +30,10 @@ class WebStatusService { WebStatusService(AsyncWebServer * server, SecurityManager * securityManager); private: - void webStatusService(AsyncWebServerRequest * request); - void WiFiEvent(WiFiEvent_t event, WiFiEventInfo_t info); - void mDNS_start() const; + void webStatusService(AsyncWebServerRequest * request); + void WiFiEvent(WiFiEvent_t event, WiFiEventInfo_t info); + void mDNS_start() const; const char * disconnectReason(uint8_t code); - }; } // namespace emsesp