fix comment

This commit is contained in:
proddy
2021-06-10 23:10:40 +02:00
parent 50540f1f82
commit 3143ed1060

View File

@@ -561,7 +561,7 @@ void EMSESP::publish_response(std::shared_ptr<const Telegram> telegram) {
Mqtt::publish(F_(response), doc.as<JsonObject>());
}
// 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) {