Remove relaxed LightNode creation
Since the --always-add-lights commandline parameter exists this can be enabled if needed without causing confusion.
@@ -2606,12 +2606,8 @@ void DeRestPluginPrivate::addLightNode(const deCONZ::Node *node)
else if (!(searchLightsState == SearchLightsActive || permitJoinFlag))
{
// don't add new light node when search is not active
- // except Node Descriptor is known
- if (node->nodeDescriptor().isNull())
- {
return;
}
- }
openDb();
lightNode.setId(QString::number(getFreeLightId()));
