Fix reconfigure for userAndPassword auth

This commit is contained in:
Michael Zanetti 2020-04-02 17:39:40 +02:00
parent 79dd4d3882
commit 4941470451

View File

@ -75,7 +75,7 @@ Page {
}
Component.onCompleted: {
print("Starting setup wizard")
print("Starting setup wizard. Create Methods:", root.deviceClass.createMethods, "Setup method:", root.deviceClass.setupMethod)
if (root.deviceClass.createMethods.indexOf("CreateMethodDiscovery") !== -1) {
print("CreateMethodDiscovery")
if (deviceClass["discoveryParamTypes"].count > 0) {
@ -115,6 +115,7 @@ Page {
case 2:
case 3:
case 4:
case 5:
print("re-pairing", root.device.id)
engine.deviceManager.rePairDevice(root.device.id, []);
break;