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.

11 lines (10 loc) 458 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var ProgrammableHTTPSwitch_1 = __importDefault(require("./ProgrammableHTTPSwitch")); var const_1 = require("./const"); exports.default = (function (api) { api.registerPlatform(const_1.PLATFORM_NAME, ProgrammableHTTPSwitch_1.default); });