From 74f0bbaf9c813562eaa103204e877a16439b11c0 Mon Sep 17 00:00:00 2001 From: nngg Date: Fri, 7 May 2021 06:54:27 -0700 Subject: [PATCH] Update xsns_29_mcp230xx.ino when more than single out pin is configured this prevents non unique key (for how assistant auto configuration) due too long string being ignored. --- tasmota/xsns_29_mcp230xx.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasmota/xsns_29_mcp230xx.ino b/tasmota/xsns_29_mcp230xx.ino index e278a63c4..1b9380cf0 100644 --- a/tasmota/xsns_29_mcp230xx.ino +++ b/tasmota/xsns_29_mcp230xx.ino @@ -394,7 +394,7 @@ void MCP230xx_Show(bool json) } if (outputcount) { uint16_t gpiototal = ((uint16_t)gpiob << 8) | gpio; - ResponseAppend_P(PSTR(",\"MCP230_OUT\":{")); + ResponseAppend_P(PSTR(",\"OUT\":{")); char stt[7]; bool first = true; for (uint32_t pinx = 0; pinx < mcp230xx_pincount; pinx++) {