diff options
author | Collin Guarino <collin.guarino@gmail.com> | 2016-02-04 13:50:28 -0500 |
---|---|---|
committer | Collin Guarino <collin.guarino@gmail.com> | 2016-02-04 13:50:28 -0500 |
commit | 89217de4c5384feec23342fdec4fe2b896cf559a (patch) | |
tree | 3bbf15e39e8afd2ac6c15db26cb0fb85b317816b /light_test.go | |
parent | 4a6869ee9c78f6c1496fefa35cd5b71afd1bd44d (diff) |
Prepared SetLightState for bridge.Put
Diffstat (limited to 'light_test.go')
-rw-r--r-- | light_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/light_test.go b/light_test.go index e3d5952..b1ea862 100644 --- a/light_test.go +++ b/light_test.go @@ -19,6 +19,6 @@ func TestSetLightState(t *testing.T) { bridge := NewBridge("192.168.1.128", "319b36233bd2328f3e40731b23479207") lights, _ := GetAllLights(bridge) fmt.Println(lights[0].Name) - newState := LightState{On: false} + newState := LightState{On: true} SetLightState(bridge, lights[0].UniqueID, newState) } |