GladysProject/Gladys

View on GitHub
server/services/homekit/lib/createBridge.js

Summary

Maintainability
A
1 hr
Test Coverage

Function createBridge has 40 lines of code (exceeds 25 allowed). Consider refactoring.
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);

Severity: Minor
Found in server/services/homekit/lib/createBridge.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status