mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2026-02-07 12:15:57 +00:00
match Tasmtoas DS18B20 standard
This commit is contained in:
@ -288,7 +288,7 @@ static int http_tasmota_json_SENSOR(void* request, jsonCb_t printer) {
|
||||
chan_val1 = CHANNEL_GetFloat(channel_1) / 100.0f;
|
||||
|
||||
// writer header
|
||||
printer(request, "\"DS1820\":");
|
||||
printer(request, "\"DS18B20\":");
|
||||
// following check will clear NaN values
|
||||
printer(request, "{");
|
||||
printer(request, "\"Temperature\": %.1f", chan_val1);
|
||||
|
||||
Reference in New Issue
Block a user