comma fix

This commit is contained in:
openshwprojects
2022-12-17 16:13:54 +01:00
parent ee34235b0d
commit 4284daa293

View File

@ -1943,6 +1943,7 @@ int http_tasmota_json_status_SNS(http_request_t* request) {
energy_hour = 0;
}
// begin ENERGY block
hprintf255(request, ",");
hprintf255(request, "\"ENERGY\":{");
hprintf255(request, "\"Power\": %f,", power);
hprintf255(request, "\"ApparentPower\": 0,\"ReactivePower\": 0,\"Factor\":%f,", factor);