homebridge-programmable-http-switch
Version:
A Homebridge plugin that allows users to create Stateless Programmable Switches which can be controlled using a HTTP API.
10 lines (9 loc) • 350 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Action = void 0;
var Action;
(function (Action) {
Action[Action["singlePress"] = 0] = "singlePress";
Action[Action["doublePress"] = 1] = "doublePress";
Action[Action["longPress"] = 2] = "longPress";
})(Action = exports.Action || (exports.Action = {}));