change dark command to night
This commit is contained in:
parent
bb70d9373d
commit
bed86867a2
@ -12,7 +12,7 @@ def trigger_action(command):
|
|||||||
if "fire" in command.lower():
|
if "fire" in command.lower():
|
||||||
GPIO.output(LED_PIN, GPIO.HIGH)
|
GPIO.output(LED_PIN, GPIO.HIGH)
|
||||||
print("Light ON")
|
print("Light ON")
|
||||||
elif "dark" in command.lower():
|
elif "night" in command.lower():
|
||||||
GPIO.output(LED_PIN, GPIO.LOW)
|
GPIO.output(LED_PIN, GPIO.LOW)
|
||||||
print("Light OFF")
|
print("Light OFF")
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user