diff --git a/client.go b/client.go index 0fdcf68..f4e1972 100644 --- a/client.go +++ b/client.go @@ -237,7 +237,7 @@ func (c *Client) breathe(selector string, breathe Breathe) (*Response, error) { return resp, nil } -func (c *Client) setStates(selector string, states States) (*Response, error) { +func (c *Client) setStates(states States) (*Response, error) { var ( err error j []byte diff --git a/lights.go b/lights.go index 9d7b9b8..21a9d48 100644 --- a/lights.go +++ b/lights.go @@ -156,14 +156,14 @@ func (c *Client) FastSetState(selector string, state State) (*LifxResponse, erro return c.SetState(selector, state) } -func (c *Client) SetStates(selector string, states States) (*LifxResponse, error) { +func (c *Client) SetStates(states States) (*LifxResponse, error) { var ( err error s *LifxResponse resp *Response ) - if resp, err = c.setStates(selector, states); err != nil { + if resp, err = c.setStates(states); err != nil { return nil, err } defer resp.Body.Close()