From f4b2f0ab77d3fce70e45185f49283a8459077189 Mon Sep 17 00:00:00 2001 From: htpc <> Date: Wed, 14 Jan 2026 14:04:37 -0800 Subject: [PATCH] source the .env --- .gitignore | 1 + apps/default_commands.sh | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index ac670fb..1707482 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /secrets.env /tv_state /debug +/.env diff --git a/apps/default_commands.sh b/apps/default_commands.sh index 48f28bd..87b9b8c 100644 --- a/apps/default_commands.sh +++ b/apps/default_commands.sh @@ -20,10 +20,12 @@ all(){ ;; "back") echo "toggling livingroom lights" + source "$ROOT/.env" curl -X POST -d '' $LIVINGROOM_LIGHTS_ENDPOINT ;; "forward") echo "toggling kitchen lights" + source "$ROOT/.env" curl -X POST -d '' $KITCHEN_LIGHTS_ENDPOINT ;; "split_right")