somfytahoma: Ignore irrelevant device types
Ignore ProtocolGateways (Homekit), ignore Hue lights, ignore internal alarm device.master
parent
52435b27fc
commit
828598e2da
|
|
@ -139,6 +139,10 @@ void IntegrationPluginSomfyTahoma::setupThing(ThingSetupInfo *info)
|
||||||
descriptor.setParams(ParamList() << Param(lightThingDeviceUrlParamTypeId, deviceUrl));
|
descriptor.setParams(ParamList() << Param(lightThingDeviceUrlParamTypeId, deviceUrl));
|
||||||
unknownDevices.append(descriptor);
|
unknownDevices.append(descriptor);
|
||||||
}
|
}
|
||||||
|
} else if (type == QStringLiteral("ProtocolGateway") ||
|
||||||
|
type == QStringLiteral("Alarm") ||
|
||||||
|
(type == QStringLiteral("Light") && deviceUrl.startsWith("hue"))) {
|
||||||
|
continue;
|
||||||
} else {
|
} else {
|
||||||
qCInfo(dcSomfyTahoma()) << "Found unsupperted Somfy device:" << label << type << deviceUrl;
|
qCInfo(dcSomfyTahoma()) << "Found unsupperted Somfy device:" << label << type << deviceUrl;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue