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 50d3a42 commit 020dcb7
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 @@ -846,6 +846,7 @@ eDomoticzAccessory.prototype = {
break;
}
case this.swTypeVal == Constants.DeviceTypeDimmer:
case this.swTypeVal == Constants.DeviceTypeMedia:
{
var service = this.getService(Service.Lightbulb);
var powerCharacteristic = service.getCharacteristic(Characteristic.On);
Expand Down

0 comments on commit 020dcb7

Please sign in to comment.