From bed86867a2ae8fe135da89c9084ed06521343b85 Mon Sep 17 00:00:00 2001 From: Sandro Zimmermann Date: Sun, 14 Dec 2025 18:34:22 +0100 Subject: [PATCH] change dark command to night --- py/speech_coltrol_led.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/speech_coltrol_led.py b/py/speech_coltrol_led.py index 82878db..ef67042 100644 --- a/py/speech_coltrol_led.py +++ b/py/speech_coltrol_led.py @@ -12,7 +12,7 @@ def trigger_action(command): if "fire" in command.lower(): GPIO.output(LED_PIN, GPIO.HIGH) print("Light ON") - elif "dark" in command.lower(): + elif "night" in command.lower(): GPIO.output(LED_PIN, GPIO.LOW) print("Light OFF")