if (light.data.hue) {
            hasHue = true
            lightsDevice.data.hue = light.data.hue
          }