Skip to content

Commit 919a753

Browse files
author
Jason Rhubottom
committed
Update target states for Locks and Garage door
1 parent 7a046f9 commit 919a753

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

index.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1116,6 +1116,9 @@ HomeSeerAccessory.prototype = {
11161116
garageDoorOpenerService
11171117
.getCharacteristic(Characteristic.TargetDoorState)
11181118
.on('set', this.setTargetDoorState.bind(this));
1119+
garageDoorOpenerService
1120+
.getCharacteristic(Characteristic.TargetDoorState)
1121+
.on('get', this.getCurrentDoorState.bind(this));
11191122
garageDoorOpenerService
11201123
.getCharacteristic(Characteristic.ObstructionDetected)
11211124
.on('get', this.getObstructionDetected.bind(this));
@@ -1136,6 +1139,9 @@ HomeSeerAccessory.prototype = {
11361139
lockService
11371140
.getCharacteristic(Characteristic.LockCurrentState)
11381141
.on('get', this.getLockCurrentState.bind(this));
1142+
lockService
1143+
.getCharacteristic(Characteristic.LockTargetState)
1144+
.on('get', this.getLockCurrentState.bind(this));
11391145
lockService
11401146
.getCharacteristic(Characteristic.LockTargetState)
11411147
.on('set', this.setLockTargetState.bind(this));

0 commit comments

Comments
 (0)