Commit dce04c2e authored by Administrator's avatar Administrator 👑

changed

parent 8063a6d7
Pipeline #43 failed with stages
# homebridge-slide-bridge # homebridge socket door lock
\ No newline at end of file \ No newline at end of file
...@@ -5,20 +5,20 @@ module.exports = function (homebridge) { ...@@ -5,20 +5,20 @@ module.exports = function (homebridge) {
hap = homebridge.hap; hap = homebridge.hap;
UUIDGen = homebridge.hap.uuid; UUIDGen = homebridge.hap.uuid;
homebridge.registerPlatform("homebridge-slide-bridge", "slide-bridge", SlideBridge, true); homebridge.registerPlatform("socket-door-lock", "door-lock", doorLock, true);
} }
function SlideBridge(log, config, api) { function doorLock(log, config, api) {
var self = this; var self = this;
self.log = log; self.log = log;
self.config = config || {}; self.config = config || {};
} }
SlideBridge.prototype.configureAccessory = function (accessory) { doorLock.prototype.configureAccessory = function (accessory) {
// Won't be invoked // Won't be invoked
} }
SlideBridge.prototype.didFinishLaunching = function () { doorLock.prototype.didFinishLaunching = function () {
self.log("Hello I am a running app"); self.log("Hello I am a running app");
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment