Browse Source

fix crash in hue2 driver.

asmodeus 3.10.2
Gisle Aune 1 year ago
parent
commit
bf903c1d71
  1. 3
      internal/drivers/hue2/bridge.go

3
internal/drivers/hue2/bridge.go

@ -252,6 +252,9 @@ func (b *Bridge) MakeCongruent(ctx context.Context) (int, error) {
updates := make(map[string]ResourceUpdate)
for _, device := range b.devices {
resource := b.resources[device.InternalID]
if resource == nil {
continue
}
// Update device
if resource.Metadata.Name != device.Name {

Loading…
Cancel
Save