UNPKG

homebridge-plugin-wrapper

Version:

Wrapper for Homebridge and NodeJS-HAP with reduced dependencies that allows to intercept plugin values and also send to them

17 lines 890 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isSerializableController = exports.DefaultControllerType = void 0; var DefaultControllerType; (function (DefaultControllerType) { DefaultControllerType["CAMERA"] = "camera"; DefaultControllerType["REMOTE"] = "remote"; DefaultControllerType["TV"] = "tv"; DefaultControllerType["ROUTER"] = "router"; DefaultControllerType["LOCK"] = "lock"; DefaultControllerType["CHARACTERISTIC_TRANSITION"] = "characteristic-transition"; })(DefaultControllerType = exports.DefaultControllerType || (exports.DefaultControllerType = {})); function isSerializableController(controller) { return "serialize" in controller && "deserialize" in controller && "setupStateChangeDelegate" in controller; } exports.isSerializableController = isSerializableController; //# sourceMappingURL=Controller.js.map