mirror of
https://github.com/nymea/nymea-plugins.git
synced 2026-07-15 00:22:26 +02:00
Add new debug print for debugging
This commit is contained in:
parent
cb2b2ba0b1
commit
846ded780e
@ -1631,6 +1631,7 @@ void IntegrationPluginShelly::setupGen2(ThingSetupInfo *info)
|
||||
info->finish(Thing::ThingErrorNoError);
|
||||
});
|
||||
|
||||
qCDebug(dcShelly()) << "***** Child count:" << myThings().filterByParentId(info->thing()->id()).count();
|
||||
if (myThings().filterByParentId(info->thing()->id()).count() == 0) {
|
||||
ThingDescriptors children;
|
||||
ThingDescriptor switchChild(shellySwitchThingClassId, info->thing()->name() + " switch 1", QString(), info->thing()->id());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user