Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions source/_components/media_player.onkyo.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,20 @@ List of source names:
- xm
- sirius

### {% linkable_title Service `onkyo_select_hdmi_output` %}

Changes HDMI output of your receiver

| Service data attribute | Optional | Description |
| ---------------------- | -------- | ----------- |
| `entity_id` | no | String or list of a single `entity_id` that will change output.
| `hdmi_output` | no | The desired output code.

Accepted values are:
'no', 'analog', 'yes', 'out', 'out-sub', 'sub', 'hdbaset', 'both', 'up'
which one to use seems to vary depending on model so you will have to try them out.
( For model TX-NR676E it seems to be 'out' for main, 'out-sub' for sub, and 'sub' for both )

### {% linkable_title Example `play_media` script %}

The `play_media` function can be used in script to play radio station by preset number.
Expand All @@ -102,3 +116,19 @@ script:
media_content_id: "1"

```

### {% linkable_title Example `onkyo_select_hdmi_output` script %}

```yaml
# Example onkyo_select_hdmi_output script
#
script:
hdmi_sub:
alias: "Hdmi out projector"
sequence:
- service: media_player.onkyo_select_hdmi_output
service_data:
entity_id: media_player.onkyo
hdmi_output: out-sub

```