UNPKG

homebridge-programmable-http-switch

Version:

A Homebridge plugin that allows users to create Stateless Programmable Switches which can be controlled using a HTTP API.

17 lines (16 loc) 394 B
import { PlatformConfig } from 'homebridge'; import { Action } from '.'; export interface Config extends PlatformConfig { accessories: AccessoryConfig[]; port: number; } export interface AccessoryConfig { name: string; identifier: string; buttons: ButtonConfig[]; } export interface ButtonConfig { name: string; identifier: string; supportedActions: Action[]; }