mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-30 06:06:36 +00:00
Change tele message of ADS1115 to allow it to work correctly with rules
Change tele message of ADS1115 to allow it to work correctly with rules, by removing "[", as reported by issue #5681
This commit is contained in:
parent
16213af36e
commit
393953d894
@ -212,7 +212,7 @@ void Ads1115Show(bool json)
|
||||
if (!ads1115_type) { return; }
|
||||
|
||||
if (json) {
|
||||
ResponseAppend_P(PSTR(",\"ADS1115\":["));
|
||||
ResponseAppend_P(PSTR(",\"ADS1115\":"));
|
||||
}
|
||||
|
||||
char *comma = (char*)"";
|
||||
@ -233,9 +233,6 @@ void Ads1115Show(bool json)
|
||||
}
|
||||
}
|
||||
|
||||
if (json) {
|
||||
ResponseAppend_P(PSTR("]"));
|
||||
}
|
||||
}
|
||||
|
||||
/*********************************************************************************************\
|
||||
|
Loading…
x
Reference in New Issue
Block a user