homebridge-denon-avr-1000
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -18,5 +18,5 @@ "use strict"; | ||
.setCharacteristic(this.platform.Characteristic.SerialNumber, accessory.context.device.id); | ||
this.service = this.accessory.getService(this.platform.Service.TelevisionSpeaker) | ||
|| this.accessory.addService(this.platform.Service.TelevisionSpeaker); | ||
this.service.getCharacteristic(this.platform.Characteristic.Mute) | ||
this.service = this.accessory.getService(this.platform.Service.Lightbulb) | ||
|| this.accessory.addService(this.platform.Service.Lightbulb); | ||
this.service.getCharacteristic(this.platform.Characteristic.On) | ||
.onSet(async (value) => { | ||
@@ -30,3 +30,3 @@ this.state.mute = value.valueOf(); | ||
this.platform.log.info('Update mute', this.state.mute); | ||
this.service.updateCharacteristic(this.platform.Characteristic.Mute, this.state.mute); | ||
this.service.updateCharacteristic(this.platform.Characteristic.On, this.state.mute); | ||
}); | ||
@@ -33,0 +33,0 @@ device.connect(); |
@@ -5,3 +5,3 @@ { | ||
"name": "homebridge-denon-avr-1000", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "Free the full potential of your denon AVR with HomeKit and Homebridge", | ||
@@ -8,0 +8,0 @@ "license": "Apache-2.0", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
32578