From 43a22359df6c7c57a7b48b6095baabdfd069c274 Mon Sep 17 00:00:00 2001 From: Alex Frantz Date: Sat, 2 May 2026 23:40:27 -0400 Subject: [PATCH] i silly mannn --- govee.py | 1 + scoreboard.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/govee.py b/govee.py index 518b237..55e30cb 100644 --- a/govee.py +++ b/govee.py @@ -50,6 +50,7 @@ class GoveeApi: } } + print(json.dumps(payload, indent=4)) req = requests.post(GOVEE_API_BASE_URL + 'device/control', headers=headers, json=payload) req.raise_for_status() print(req.json()) diff --git a/scoreboard.py b/scoreboard.py index 2a865db..2c8084b 100644 --- a/scoreboard.py +++ b/scoreboard.py @@ -289,9 +289,9 @@ def run(): last_switch = time.time() while True: - govee_api.set_diy_scene(GOVEE_DEVICE, GOVEE_SKU) + govee_api.set_diy_scene(GOVEE_SKU, GOVEE_DEVICE) play_goal_celebration() - govee_api.set_to_original_color(GOVEE_DEVICE, GOVEE_SKU) + govee_api.set_to_original_color(GOVEE_SKU, GOVEE_DEVICE) # while True: # now = time.time()