server/services/homekit/lib/createBridge.js
Function createBridge
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
async function createBridge() {
let bridgeUuid = await this.gladys.variable.getValue('HOMEKIT_GLADYS_UUID', this.serviceId);
let username = await this.gladys.variable.getValue('HOMEKIT_USERNAME', this.serviceId);
let pincode = await this.gladys.variable.getValue('HOMEKIT_PIN_CODE', this.serviceId);