Fix keba debug prints
This commit is contained in:
parent
71433ba2fa
commit
6ff328d79f
@ -104,9 +104,9 @@ void IntegrationPluginKeba::setupThing(ThingSetupInfo *info)
|
|||||||
|
|
||||||
// Handle reconfigure
|
// Handle reconfigure
|
||||||
if (myThings().contains(thing)) {
|
if (myThings().contains(thing)) {
|
||||||
qCDebug(dcKeba()) << "Reconfigure" << thing->name() << thing->params();
|
|
||||||
KeContact *keba = m_kebaDevices.take(thing->id());
|
KeContact *keba = m_kebaDevices.take(thing->id());
|
||||||
if (keba) {
|
if (keba) {
|
||||||
|
qCDebug(dcKeba()) << "Reconfigure" << thing->name() << thing->params();
|
||||||
delete keba;
|
delete keba;
|
||||||
// Now continue with the normal setup
|
// Now continue with the normal setup
|
||||||
}
|
}
|
||||||
@ -353,7 +353,7 @@ void IntegrationPluginKeba::onConnectionChanged(bool status)
|
|||||||
KeContact *keba = static_cast<KeContact *>(sender());
|
KeContact *keba = static_cast<KeContact *>(sender());
|
||||||
Thing *thing = myThings().findById(m_kebaDevices.key(keba));
|
Thing *thing = myThings().findById(m_kebaDevices.key(keba));
|
||||||
if (!thing) {
|
if (!thing) {
|
||||||
qCWarning(dcKeba()) << "On connection changed: missing device object";
|
qCDebug(dcKeba()) << "Received connected changed but the thing seems not to be setup yet.";
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user