mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-30 14:16:32 +00:00
Fix JSON message error (#5521)
Fix JSON message error regression (#5521)
This commit is contained in:
parent
10d32acccc
commit
a7a07c5b96
@ -760,7 +760,7 @@ void LightState(uint8_t append)
|
||||
for (uint8_t i = 0; i < light_subtype; i++) {
|
||||
ResponseAppend_P(PSTR("%s%d" ), (i > 0 ? "," : ""), light_current_color[i] * 100 / 255);
|
||||
}
|
||||
ResponseAppend_P(PSTR("%s]"));
|
||||
ResponseAppend_P(PSTR("]"));
|
||||
}
|
||||
if ((LST_COLDWARM == light_subtype) || (LST_RGBWC == light_subtype)) {
|
||||
ResponseAppend_P(PSTR(",\"" D_CMND_COLORTEMPERATURE "\":%d"), LightGetColorTemp());
|
||||
|
Loading…
x
Reference in New Issue
Block a user