homebridge-denon-avr-1000
Advanced tools
Comparing version 0.0.9 to 0.0.10
@@ -23,7 +23,8 @@ "use strict"; | ||
this.state.on = value.valueOf(); | ||
await device.setPower(this.state.on ? 'STANDBY' : 'ON'); | ||
await device.setPower(!this.state.on ? 'ON' : 'STANDBY'); | ||
await device.setInput('SAT/CBL'); | ||
}) | ||
.onGet(() => this.state.on); | ||
device.on('powerChanged', (data) => { | ||
this.state.on = data === 'STANDBY'; | ||
this.state.on = data === 'ON'; | ||
this.platform.log.info('Update mute', this.state.on); | ||
@@ -30,0 +31,0 @@ this.service.updateCharacteristic(this.platform.Characteristic.On, this.state.on); |
@@ -5,3 +5,3 @@ { | ||
"name": "homebridge-denon-avr-1000", | ||
"version": "0.0.9", | ||
"version": "0.0.10", | ||
"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
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
32652
145