mirror of https://github.com/arendst/Tasmota.git
change MQTT display of TRIGGERED sensors.
This commit is contained in:
parent
ca4ccd24d5
commit
10ee56b9da
|
@ -2835,7 +2835,8 @@ void MI32ShowTriggeredSensors(){
|
||||||
|
|
||||||
cnt++;
|
cnt++;
|
||||||
ResponseAppend_P(PSTR(","));
|
ResponseAppend_P(PSTR(","));
|
||||||
MI32GetOneSensorJson(sensor, 0);
|
// hide sensor name if HASS or option6
|
||||||
|
MI32GetOneSensorJson(sensor, (maxcnt == 1));
|
||||||
int mlen = strlen(TasmotaGlobal.mqtt_data);
|
int mlen = strlen(TasmotaGlobal.mqtt_data);
|
||||||
|
|
||||||
// if we ran out of room, leave here.
|
// if we ran out of room, leave here.
|
||||||
|
|
Loading…
Reference in New Issue