aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bridge.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/bridge.go b/bridge.go
index 61960fa..dc2b6ff 100644
--- a/bridge.go
+++ b/bridge.go
@@ -239,6 +239,7 @@ func (bridge *Bridge) GetAllLights() ([]Light, error) {
if err != nil {
return []Light{}, errors.New("Unable to convert light index to integer. ")
}
+ light.Bridge = bridge
lights = append(lights, light)
}
return lights, nil