Skip to content

Commit

Permalink
Set VisibilityState (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
hobbyquaker committed Apr 18, 2019
1 parent ac8cb33 commit 8afd6e8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nodes/redmatic-homekit-tv.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ module.exports = function (RED) {
.setCharacteristic(Characteristic.Identifier, id)
.setCharacteristic(Characteristic.ConfiguredName, src.name)
.setCharacteristic(Characteristic.IsConfigured, Characteristic.IsConfigured.CONFIGURED)
.setCharacteristic(Characteristic.InputSourceType, src.type);
.setCharacteristic(Characteristic.InputSourceType, src.type)
.setCharacteristic(Characteristic.CurrentVisibilityState, Characteristic.CurrentVisibilityState.SHOWN)
.setCharacteristic(Characteristic.TargetVisibilityState, Characteristic.TargetVisibilityState.SHOWN);

tvService.addLinkedService(inputService);
});
Expand Down

0 comments on commit 8afd6e8

Please sign in to comment.