Skip to content

Commit

Permalink
Changed selflearning-switch service from Lightbulb to `Switch
Browse files Browse the repository at this point in the history
  • Loading branch information
ingvaldlorentzen committed Oct 22, 2019
1 parent 9ffbce5 commit d1a0fa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit d1a0fa6

Please sign in to comment.