Skip to content

Commit

Permalink
Remove red tester command
Browse files Browse the repository at this point in the history
  • Loading branch information
tessro committed May 4, 2021
1 parent 2899cc3 commit 34eecc1
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -242,18 +242,6 @@ func main() {
client.Put("state", bytes)
case "hsl":
doHSLCommand(client, flag.Args()[1:])
case "red":
state := State{
Brightness: &BrightnessProperty{60, 0},
Hue: &HueProperty{0},
Saturation: &SaturationProperty{100},
}
bytes, err := json.Marshal(state)
if err != nil {
fmt.Printf("Failed to marshal JSON: %v", err)
os.Exit(1)
}
client.Put("state", bytes)
case "rgb":
doRGBCommand(client, flag.Args()[1:])
case "effect":
Expand Down

0 comments on commit 34eecc1

Please sign in to comment.