From d1a0fa631fecf103d3bf59556b60052e68e94659 Mon Sep 17 00:00:00 2001 From: ingvaldlorentzen Date: Tue, 22 Oct 2019 11:55:57 +0200 Subject: [PATCH] Changed `selflearning-switch` service from `Lightbulb` to `Switch --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 0fceaa5..90fde36 100644 --- a/index.js +++ b/index.js @@ -17,7 +17,7 @@ module.exports = function(homebridge) { const modelDefinitions = [ { model: 'selflearning-switch', - definitions: [{ service: Service.Lightbulb, characteristics: [ Characteristic.On ] }], + definitions: [{ service: Service.Switch, characteristics: [ Characteristic.On ] }], }, { model: 'codeswitch',