is this the right code for the workflow?
[
{
"id": "e4cd8a9f84c30117",
"type": "tab",
"label": "SThub",
"disabled": false,
"info": "",
"env": []
},
{
"id": "5d2ee2a6623efcf2",
"type": "smartthings-node-temperature",
"z": "e4cd8a9f84c30117",
"conf": "c330ed804e4310aa",
"name": "TempBox1 (Temperature)",
"device": "4de8ea0c-a128-424c-a96d-3ae8e91a225b",
"x": 650,
"y": 260,
"wires": [
[
"a20ca53c381ff5b2"
]
]
},
{
"id": "a67f018fbc5b2258",
"type": "inject",
"z": "e4cd8a9f84c30117",
"name": "Light On",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "switch",
"payload": "{\"value\":1}",
"payloadType": "json",
"x": 480,
"y": 360,
"wires": [
[
"6dc75aa23e0c8a07"
]
]
},
{
"id": "6dc75aa23e0c8a07",
"type": "smartthings-node-onoff",
"z": "e4cd8a9f84c30117",
"conf": "c330ed804e4310aa",
"name": "Jeff's Office Main Light",
"device": "e4dd054d-d6ff-44d6-bf80-58eb03c88135",
"x": 760,
"y": 460,
"wires": [
[
"a20ca53c381ff5b2"
]
]
},
{
"id": "c7f418f194932ae2",
"type": "inject",
"z": "e4cd8a9f84c30117",
"name": "Light Off",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "switch",
"payload": "{\"value\":0}",
"payloadType": "json",
"x": 480,
"y": 420,
"wires": [
[
"6dc75aa23e0c8a07"
]
]
},
{
"id": "f9a6e165b0378769",
"type": "inject",
"z": "e4cd8a9f84c30117",
"name": "Set Temp",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "temperature",
"payload": "{\"value\":60}",
"payloadType": "json",
"x": 180,
"y": 260,
"wires": [
[
"5d2ee2a6623efcf2"
]
]
},
{
"id": "a20ca53c381ff5b2",
"type": "debug",
"z": "e4cd8a9f84c30117",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "payload",
"targetType": "msg",
"statusVal": "",
"statusType": "auto",
"x": 950,
"y": 340,
"wires": []
},
{
"id": "c330ed804e4310aa",
"type": "smartthings-config",
"name": "BasicDevice",
"token": "e086deb9-39b0-447b-a45e-bb861b702aa1"
}
]