Skip to content

Commit

Permalink
Fix pairing Profalux roller shutter in legacy code (#7735)
Browse files Browse the repository at this point in the history
  • Loading branch information
Smanar authored May 2, 2024
1 parent 5c06f5d commit 1ddd316
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion de_web_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2364,7 +2364,11 @@ void DeRestPluginPrivate::addLightNode(const deCONZ::Node *node)
auto *device = DEV_GetOrCreateDevice(this, deCONZ::ApsController::instance(), eventEmitter, m_devices, node->address().ext());
Q_ASSERT(device);

if (permitJoinFlag)
if (node->nodeDescriptor().manufacturerCode() == VENDOR_PROFALUX)
{
//Profalux device don't have manufactureName and ModelID so can't wait for RAttrManufacturerName or RAttrModelId
}
else if (permitJoinFlag)
{
// during pairing only proceed when device code has finished query Basic Cluster
if (device->item(RAttrManufacturerName)->toString().isEmpty() ||
Expand Down

0 comments on commit 1ddd316

Please sign in to comment.