diff --git a/philipshue/devicepluginphilipshue.cpp b/philipshue/devicepluginphilipshue.cpp index 776df38c..1844f278 100644 --- a/philipshue/devicepluginphilipshue.cpp +++ b/philipshue/devicepluginphilipshue.cpp @@ -1368,6 +1368,11 @@ bool DevicePluginPhilipsHue::lightAlreadyAdded(const QString &uuid) return true; } } + if (device->deviceClassId() == colorTemperatureLightDeviceClassId) { + if (device->paramValue(colorTemperatureLightDeviceUuidParamTypeId).toString() == uuid) { + return true; + } + } } return false; }