From 846ded780e4acdc45ad65a15f28308013f832c10 Mon Sep 17 00:00:00 2001 From: Michael Zanetti Date: Mon, 15 May 2023 11:24:46 +0200 Subject: [PATCH] Add new debug print for debugging --- shelly/integrationpluginshelly.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/shelly/integrationpluginshelly.cpp b/shelly/integrationpluginshelly.cpp index 0863a73b..a2cdbd3b 100644 --- a/shelly/integrationpluginshelly.cpp +++ b/shelly/integrationpluginshelly.cpp @@ -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());