From b834bf84b2d03e0e8fcafbc87811c3f1ccebc297 Mon Sep 17 00:00:00 2001 From: Ryan Cavicchioni Date: Sat, 9 Jan 2021 19:08:37 -0600 Subject: [PATCH] fix syntax --- lights.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lights.go b/lights.go index 1271c2e..6137cd2 100644 --- a/lights.go +++ b/lights.go @@ -79,8 +79,8 @@ type ( } States struct { - States []StateWithSelector `json:"states",omitempty` - Defaults State `json:"defaults",omitempty` + States []StateWithSelector `json:"states,omitempty"` + Defaults State `json:"defaults,omitempty"` } Toggle struct {