mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 00:39:50 +03:00
fix comment
This commit is contained in:
@@ -561,7 +561,7 @@ void EMSESP::publish_response(std::shared_ptr<const Telegram> telegram) {
|
|||||||
Mqtt::publish(F_(response), doc.as<JsonObject>());
|
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) {
|
bool EMSESP::get_device_value_info(JsonObject & root, const char * cmd, const int8_t id, const uint8_t devicetype) {
|
||||||
for (const auto & emsdevice : emsdevices) {
|
for (const auto & emsdevice : emsdevices) {
|
||||||
if (emsdevice->device_type() == devicetype) {
|
if (emsdevice->device_type() == devicetype) {
|
||||||
|
|||||||
Reference in New Issue
Block a user