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 {