mirror of
https://github.com/arendst/Tasmota.git
synced 2025-08-01 06:57:43 +00:00
Merge pull request #6454 from andrethomas/patch-1
Bracketing is an art... I was once told :)
This commit is contained in:
commit
ca1252e5f5
@ -126,7 +126,7 @@ void Sgp30Show(bool json)
|
||||
|
||||
if (json) {
|
||||
ResponseAppend_P(PSTR(",\"SGP30\":{\"" D_JSON_ECO2 "\":%d,\"" D_JSON_TVOC "\":%d"), sgp.eCO2, sgp.TVOC);
|
||||
if (global_update) && global_humidity>0 && global_temperature!=9999) {
|
||||
if (global_update && global_humidity>0 && global_temperature!=9999) {
|
||||
// has humidity + temperature
|
||||
dtostrfd(sgp30_abshum,4,abs_hum);
|
||||
ResponseAppend_P(PSTR(",\"" D_JSON_AHUM "\":%s"),abs_hum);
|
||||
|
Loading…
x
Reference in New Issue
Block a user