This commit is contained in:
2026-05-02 23:12:53 -04:00
parent 00fbcc1ce6
commit dd9e4ba193
+3 -5
View File
@@ -2,7 +2,6 @@ import time
import requests
import os
import govee
import asyncio
from time import sleep
from PIL import Image, ImageDraw, ImageFont
from rgbmatrix import RGBMatrix, RGBMatrixOptions, graphics
@@ -292,10 +291,9 @@ async def run():
last_switch = time.time()
while True:
async with govee_api:
await govee_api.send_scene(GOVEE_AWS)
govee_api.send_scene(GOVEE_AWS)
play_goal_celebration()
await govee_api.set_color(255,0,0)
govee_api.set_to_original_color()
# while True:
# now = time.time()
@@ -335,4 +333,4 @@ async def run():
# time.sleep(0.03)
if __name__ == "__main__":
asyncio.run(run())
run()