From 932eb56f9787c0222d28c6abe6fab035fce04c80 Mon Sep 17 00:00:00 2001 From: Alex Orid Date: Fri, 9 Apr 2021 16:30:26 -0400 Subject: [PATCH] fixed light command --- commands/implemented/command_lights_rgb_color_twitch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/implemented/command_lights_rgb_color_twitch.py b/commands/implemented/command_lights_rgb_color_twitch.py index 4d743ee..909ae16 100644 --- a/commands/implemented/command_lights_rgb_color_twitch.py +++ b/commands/implemented/command_lights_rgb_color_twitch.py @@ -36,9 +36,9 @@ class CommandRoll(AbstractCommand, metaclass=ABCMeta): else: if "stream" in tempParsedMessage: LightModule.bridge_.run_scene("Downstairs", "Stream") - elif ("normal" or "regular" or "bright" or "daylight") in tempParsedMessage: + elif "normal" in tempParsedMessage: LightModule.bridge_.run_scene("Downstairs", "Bright") - elif ("haxor") in tempParsedMessage: + elif "haxor" in tempParsedMessage: LightModule.bridge_.run_scene("Downstairs", "hacker vibes") elif "off" in tempParsedMessage: LightModule.bridge_.set_group("Downstairs", "on", False)