Skip to content

Commit

Permalink
Update domoticz_accessory.js
Browse files Browse the repository at this point in the history
Shift Media into Dimmer
  • Loading branch information
PatchworkBoy committed Oct 17, 2016
1 parent 74d995c commit 50d3a42
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/domoticz_accessory.js
Original file line number Diff line number Diff line change
Expand Up @@ -1154,6 +1154,7 @@ eDomoticzAccessory.prototype = {
break;
}
case this.swTypeVal == Constants.DeviceTypeDimmer:
case this.swTypeVal == Constants.DeviceTypeMedia:
{
var lightbulbService = new Service.Lightbulb(this.name);
lightbulbService.getCharacteristic(Characteristic.On).on('set', this.setPowerState.bind(this)).on('get', this.getPowerState.bind(this));
Expand Down

0 comments on commit 50d3a42

Please sign in to comment.