diff options
Diffstat (limited to 'light.go')
-rw-r--r-- | light.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -137,7 +137,7 @@ func SetLightState(light *Light, newState LightState) error { } // Get the new light state and update the current Light struct - *light, err = GetLight(light.Bridge, light.Name) + *light, err = GetLightByIndex(light.Bridge, light.Index) if err != nil { return err } |