mirror of https://github.com/arendst/Tasmota.git
Merge pull request #10211 from s-hadinger/zigbee_fix_json_tc
Rename Status to JoinStatus to avoid malformed JSON
This commit is contained in:
commit
10b99890f5
|
@ -1535,7 +1535,7 @@ int32_t EZ_ReceiveTCJoinHandler(int32_t res, const class SBuffer &buf) {
|
|||
Response_P(PSTR("{\"" D_JSON_ZIGBEE_STATE "\":{"
|
||||
"\"Status\":%d,\"IEEEAddr\":\"0x%s\",\"ShortAddr\":\"0x%04X\""
|
||||
",\"ParentNetwork\":\"0x%04X\""
|
||||
",\"Status\":%d,\"Decision\":%d"
|
||||
",\"JoinStatus\":%d,\"Decision\":%d"
|
||||
"}}"),
|
||||
ZIGBEE_STATUS_DEVICE_INDICATION, hex, srcAddr, parentNw,
|
||||
status, decision
|
||||
|
|
Loading…
Reference in New Issue