Constructors

Constructors

  • Parameters

    • log: Logger
    • service: Service
    • serviceConfig: {
          serviceName: string;
          shortcutName: string;
      }
      • serviceName: string

        A name to display for this button.

      • shortcutName: string

        Name of the Apple Shortcut to trigger, as displayed in the Shortcuts app. The machine running Homebridge must have access to it (i.e. be logged to the correct iCloud account).

    • server: Nullable<HSBXCallbackUrlServer>
    • utils: HSBUtils
    • Characteristic: typeof Characteristic

    Returns HSBService