change dark command to night

This commit is contained in:
Sandro Zimmermann 2025-12-14 18:34:22 +01:00
parent bb70d9373d
commit bed86867a2

View File

@ -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")