i silly mannn

This commit is contained in:
2026-05-02 23:40:27 -04:00
parent 2f9fe7cf94
commit 43a22359df
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -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 = requests.post(GOVEE_API_BASE_URL + 'device/control', headers=headers, json=payload)
req.raise_for_status() req.raise_for_status()
print(req.json()) print(req.json())
+2 -2
View File
@@ -289,9 +289,9 @@ def run():
last_switch = time.time() last_switch = time.time()
while True: while True:
govee_api.set_diy_scene(GOVEE_DEVICE, GOVEE_SKU) govee_api.set_diy_scene(GOVEE_SKU, GOVEE_DEVICE)
play_goal_celebration() 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: # while True:
# now = time.time() # now = time.time()