{
"payload": {
"brightness": 35,
"color_temp": 360,
"state": "ON",
"transition": 2
},
"wled": "99",
"holiday": "none",
"level": 35,
"statemsg": "off",
"garage": 1,
"kitchen": "99",
"lutron": 100,
"_msgid": "1536b9b1d908639d",
"_event": "node:e6bc18b574cd6107-28cd8355d3d338bd"
}
For testing, I would like to recreate the message structure above. Trying to send that first object without a key throws an error. How do I structure this so that doesn't happen?
{
{
"brightness": 35,
"color_temp": 360,
"state": "ON",
"transition": 2
},
"wled": "99",
"holiday": "none",
"level": 35,
"statemsg": "off",
"garage": 1,
"kitchen": "99",
"lutron": 100,
"_msgid": "1536b9b1d908639d",
"_event": "node:e6bc18b574cd6107-28cd8355d3d338bd"
}