Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix pairing Profalux roller shutter in legacy code #7735

Merged
merged 3 commits into from
May 2, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion de_web_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2364,7 +2364,8 @@ 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)
//Profalux device don't have manufactureName and ModelID
if ((node->nodeDescriptor().manufacturerCode() != VENDOR_PROFALUX) && permitJoinFlag)
Smanar marked this conversation as resolved.
Show resolved Hide resolved
{
// during pairing only proceed when device code has finished query Basic Cluster
if (device->item(RAttrManufacturerName)->toString().isEmpty() ||
Expand Down