Commission node
${!this._mode
? html`
Commission new WiFi device
Commission new Thread device
Commission existing device
`
: this._mode === "wifi"
? html` `
: this._mode === "thread"
? html` `
: html` `}
Cancel
`;
}
private _commissionWifi() {
if (!this.client.serverInfo.bluetooth_enabled) {
return;
}
import("./commission-node-wifi.js");
this._mode = "wifi";
}
private _commissionThread() {
if (!this.client.serverInfo.bluetooth_enabled) {
return;
}
import("./commission-node-thread.js");
this._mode = "thread";
}
private _commissionExisting() {
import("./commission-node-existing.js");
this._mode = "existing";
}
private _nodeCommissioned(ev: CustomEvent