diff --git a/src/emsesp.cpp b/src/emsesp.cpp index e93ace3a8..3435b5844 100644 --- a/src/emsesp.cpp +++ b/src/emsesp.cpp @@ -561,7 +561,7 @@ void EMSESP::publish_response(std::shared_ptr telegram) { Mqtt::publish(F_(response), doc.as()); } -// builds json with the detail of each value, for all device types and the dallas sensor +// builds json with the detail of each value, for all specific device type or the dallas sensor bool EMSESP::get_device_value_info(JsonObject & root, const char * cmd, const int8_t id, const uint8_t devicetype) { for (const auto & emsdevice : emsdevices) { if (emsdevice->device_type() == devicetype) {