From ffb304d6dea0753c6feda736f9d1e46955473bb8 Mon Sep 17 00:00:00 2001 From: Nick Borgers Date: Thu, 11 Jan 2024 08:33:41 -0500 Subject: [PATCH] fix typo --- flows.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flows.json b/flows.json index d12e8eb..226b026 100644 --- a/flows.json +++ b/flows.json @@ -11116,7 +11116,7 @@ "type": "function", "z": "95cf961539320dd3", "name": "Ensure master is home and asleep", - "func": "if (global.get(\"state\").isAnyoneHome.value == false) {\n return null\n}\nif (global.get(\"state\").isMasterAsleep.value == false) {\n return null\n}\n\n// Is master light still on?\nvar isMasterLightOff = global.get(\"state\").isMasterLightOff.value\nif (isMasterLightOff) {\n console.debug(\"Master light turned off; abort!\")\n return null\n}\n\nreturn msg;", + "func": "if (global.get(\"state\").isAnyoneHome.value == false) {\n return null\n}\nif (global.get(\"state\").isMasterAsleep.value == false) {\n return null\n}\n\n// Is master light still on?\nvar isMasterLightsOff = global.get(\"state\").isMasterLightsOff.value\nif (isMasterLightsOff) {\n console.debug(\"Master light turned off; abort!\")\n return null\n}\n\nreturn msg;", "outputs": 1, "timeout": "", "noerr": 0,