mirror of
https://github.com/nymea/nymea-plugins.git
synced 2026-10-22 14:33:25 +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);
|
info->finish(Thing::ThingErrorNoError);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
qCDebug(dcShelly()) << "***** Child count:" << myThings().filterByParentId(info->thing()->id()).count();
|
||||||
if (myThings().filterByParentId(info->thing()->id()).count() == 0) {
|
if (myThings().filterByParentId(info->thing()->id()).count() == 0) {
|
||||||
ThingDescriptors children;
|
ThingDescriptors children;
|
||||||
ThingDescriptor switchChild(shellySwitchThingClassId, info->thing()->name() + " switch 1", QString(), info->thing()->id());
|
ThingDescriptor switchChild(shellySwitchThingClassId, info->thing()->name() + " switch 1", QString(), info->thing()->id());
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user