Here you go
[
{
"id": "3c053f8.54b004",
"type": "switch",
"z": "1eb1e8e3.1c3ca7",
"name": "true only",
"property": "payload",
"propertyType": "msg",
"rules": [
{
"t": "cont",
"v": "true",
"vt": "str"
}
],
"checkall": "true",
"repair": false,
"outputs": 1,
"x": 160,
"y": 412,
"wires": [
[
"6513387f.d6a5d"
]
]
},
{
"id": "6513387f.d6a5d",
"type": "function",
"z": "1eb1e8e3.1c3ca7",
"name": "Saved Pattie Poehl status to Boolean",
"func": "var switch_boolean = flow.get(\"pp_status\");\nif (switch_boolean === \"on\") {\n msg.payload = true;\n} else {\n msg.payload = false;\n}\nvar newmsg = { topic:msg.topic, payload:msg.payload };\nreturn newmsg;",
"outputs": 1,
"noerr": 0,
"x": 670,
"y": 420,
"wires": [
[
"d7eb2d72.b08ae8"
]
]
},
{
"id": "49077781.2615f",
"type": "function",
"z": "1eb1e8e3.1c3ca7",
"name": "Saved mode to Boolean",
"func": "var mode = flow.get(\"house_current_mode\");\nif (mode === \"Home\") {\n msg.payload1 = true;\n msg.payload2 = false;\n msg.payload3 = false;\n} else if (mode === \"Away\") {\n msg.payload1 = false;\n msg.payload2 = true;\n msg.payload3 = false;\n} else if (mode === \"Sleep\") {\n msg.payload1 = false;\n msg.payload2 = false;\n msg.payload3 = true;\n}\nvar msg1 = { topic:msg.topic, payload:msg.payload1 };\nvar msg2 = { topic:msg.topic, payload:msg.payload2 };\nvar msg3 = { topic:msg.topic, payload:msg.payload3 };\nreturn [ msg1, msg2, msg3 ];",
"outputs": 3,
"noerr": 0,
"x": 790,
"y": 520,
"wires": [
[
"cb63d35e.be1178"
],
[
"3c053f8.54b004"
],
[]
]
},
{
"id": "d7eb2d72.b08ae8",
"type": "switch",
"z": "1eb1e8e3.1c3ca7",
"name": "true only",
"property": "payload",
"propertyType": "msg",
"rules": [
{
"t": "cont",
"v": "true",
"vt": "str"
}
],
"checkall": "true",
"repair": false,
"outputs": 1,
"x": 1080,
"y": 420,
"wires": [
[
"4b160dd8.d0739c"
]
]
},
{
"id": "cb63d35e.be1178",
"type": "switch",
"z": "1eb1e8e3.1c3ca7",
"name": "true only",
"property": "payload",
"propertyType": "msg",
"rules": [
{
"t": "cont",
"v": "true",
"vt": "str"
}
],
"checkall": "true",
"repair": false,
"outputs": 1,
"x": 1080,
"y": 480,
"wires": [
[
"4b160dd8.d0739c"
]
]
},
{
"id": "52336bd8.279fec",
"type": "switch",
"z": "1eb1e8e3.1c3ca7",
"name": "true false",
"property": "payload",
"propertyType": "msg",
"rules": [
{
"t": "cont",
"v": "true",
"vt": "str"
},
{
"t": "cont",
"v": "false",
"vt": "str"
}
],
"checkall": "true",
"repair": false,
"outputs": 2,
"x": 500,
"y": 540,
"wires": [
[
"49077781.2615f"
],
[]
]
},
{
"id": "4b160dd8.d0739c",
"type": "time-switch",
"z": "1eb1e8e3.1c3ca7",
"name": "Dawn-20 hrs",
"lat": "29.977091",
"lon": "-90.143000",
"startTime": "sunriseEnd",
"endTime": "20:00",
"startOffset": 0,
"endOffset": 0,
"x": 1250,
"y": 440,
"wires": [
[
"4ffe52b3.0563a4"
],
[
"66b3b00.86bea5",
"3dbec798.3f81d"
]
]
},
{
"id": "687cca9d.e0f6d4",
"type": "function",
"z": "1eb1e8e3.1c3ca7",
"name": "mike - active/inactive",
"func": "switch (msg.payload.currentValue) {\n case \"active\":\n msg.payload = 'true'\n var newmsg = {payload: 'stop'}\n return [msg, newmsg]\n case \"inactive\":\n msg.payload = 'false'\n return [msg, msg]\n}",
"outputs": 2,
"noerr": 0,
"x": 300,
"y": 572,
"wires": [
[
"52336bd8.279fec"
],
[
"7490a862.4aee48"
]
]
},
{
"id": "4ffe52b3.0563a4",
"type": "hubitat command",
"z": "1eb1e8e3.1c3ca7",
"name": "CR 100",
"server": "a22e0ea9.276dc8",
"deviceId": "266",
"command": "setLevel",
"commandArgs": "100",
"x": 1420,
"y": 400,
"wires": [
[]
]
},
{
"id": "66b3b00.86bea5",
"type": "hubitat command",
"z": "1eb1e8e3.1c3ca7",
"name": "CL 80",
"server": "a22e0ea9.276dc8",
"deviceId": "85",
"command": "setLevel",
"commandArgs": "80",
"x": 1410,
"y": 460,
"wires": [
[]
]
},
{
"id": "3dbec798.3f81d",
"type": "hubitat command",
"z": "1eb1e8e3.1c3ca7",
"name": "CL 3500K",
"server": "a22e0ea9.276dc8",
"deviceId": "85",
"command": "setColorTemperature",
"commandArgs": "3500",
"x": 1420,
"y": 500,
"wires": [
[]
]
},
{
"id": "1663bf8c.7cbbb8",
"type": "hubitat device",
"z": "1eb1e8e3.1c3ca7",
"name": "M-CR",
"server": "a22e0ea9.276dc8",
"deviceId": "228",
"sendEvent": true,
"x": 110,
"y": 572,
"wires": [
[
"687cca9d.e0f6d4"
]
]
},
{
"id": "7490a862.4aee48",
"type": "stoptimer",
"z": "1eb1e8e3.1c3ca7",
"duration": "3",
"units": "Minute",
"payloadtype": "num",
"payloadval": "0",
"name": "",
"x": 220,
"y": 672,
"wires": [
[
"548bb30e.a74dd4"
],
[]
]
},
{
"id": "548bb30e.a74dd4",
"type": "function",
"z": "1eb1e8e3.1c3ca7",
"name": "Switch Status",
"func": "msg.attribute = \"switch\"\nreturn msg;",
"outputs": 1,
"noerr": 0,
"x": 540,
"y": 700,
"wires": [
[
"cbc7235e.857178"
]
]
},
{
"id": "cbc7235e.857178",
"type": "hubitat device",
"z": "1eb1e8e3.1c3ca7",
"name": "Persist",
"server": "a22e0ea9.276dc8",
"deviceId": "287",
"sendEvent": false,
"x": 720,
"y": 700,
"wires": [
[
"1096a0a5.44357f"
]
]
},
{
"id": "1096a0a5.44357f",
"type": "function",
"z": "1eb1e8e3.1c3ca7",
"name": "off = true",
"func": "if (msg.payload.currentValue === \"off\") {\n msg.payload = true;\n} else {\n msg.payload = false;\n}\nvar newmsg = { topic:msg.topic, payload:msg.payload };\nreturn newmsg;",
"outputs": 1,
"noerr": 0,
"x": 900,
"y": 700,
"wires": [
[
"b4250b57.43e02"
]
]
},
{
"id": "b4250b57.43e02",
"type": "switch",
"z": "1eb1e8e3.1c3ca7",
"name": "only true",
"property": "payload",
"propertyType": "msg",
"rules": [
{
"t": "cont",
"v": "true",
"vt": "str"
}
],
"checkall": "true",
"repair": false,
"outputs": 1,
"x": 1100,
"y": 700,
"wires": [
[
"57b79ca4.889fec"
]
]
},
{
"id": "57b79ca4.889fec",
"type": "function",
"z": "1eb1e8e3.1c3ca7",
"name": "Motion Status",
"func": "msg.attribute = \"motion\"\nreturn msg;",
"outputs": 1,
"noerr": 0,
"x": 620,
"y": 640,
"wires": [
[
"df54fa97.7c659"
]
]
},
{
"id": "df54fa97.7c659",
"type": "hubitat device",
"z": "1eb1e8e3.1c3ca7",
"name": "M-K",
"server": "a22e0ea9.276dc8",
"deviceId": "79",
"sendEvent": false,
"x": 785,
"y": 640,
"wires": [
[
"a3b98aad.ab529"
]
]
},
{
"id": "a3b98aad.ab529",
"type": "function",
"z": "1eb1e8e3.1c3ca7",
"name": "inactive = true",
"func": "if (msg.payload.currentValue === \"active\") {\n msg.payload = false;\n} else {\n msg.payload = true;\n}\nvar newmsg = { topic:msg.topic, payload:msg.payload };\nreturn newmsg;",
"outputs": 1,
"noerr": 0,
"x": 960,
"y": 640,
"wires": [
[
"d040a62e.5db9a"
]
]
},
{
"id": "d040a62e.5db9a",
"type": "switch",
"z": "1eb1e8e3.1c3ca7",
"name": "true only",
"property": "payload",
"propertyType": "msg",
"rules": [
{
"t": "cont",
"v": "true",
"vt": "str"
}
],
"checkall": "true",
"repair": false,
"outputs": 1,
"x": 1180,
"y": 620,
"wires": [
[
"69eb0b45.b18cb4",
"85f1f2aa.05858"
]
]
},
{
"id": "69eb0b45.b18cb4",
"type": "hubitat command",
"z": "1eb1e8e3.1c3ca7",
"name": "CL OFF",
"server": "a22e0ea9.276dc8",
"deviceId": "85",
"command": "off",
"commandArgs": "",
"x": 1380,
"y": 572,
"wires": [
[]
]
},
{
"id": "85f1f2aa.05858",
"type": "hubitat command",
"z": "1eb1e8e3.1c3ca7",
"name": "CR OFF",
"server": "a22e0ea9.276dc8",
"deviceId": "266",
"command": "off",
"commandArgs": "",
"x": 1380,
"y": 612,
"wires": [
[]
]
},
{
"id": "a22e0ea9.276dc8",
"type": "hubitat config",
"z": "",
"name": "Hubitat",
"usetls": false,
"host": "192.168.1.46",
"port": "80",
"token": "496f7f11-256d-44c9-99c6-4ed460d3efb0",
"appId": "1522",
"nodeRedServer": "http://192.168.1.4:1880"
}
]
P.S. Sorry about the other one not importing. It imported okay into my Node-RED. No, I made an error when I pasted the original. Fixed it. They should both be importable now.