From a072f9e1e964ed81c2194df95437df47c7f4f712 Mon Sep 17 00:00:00 2001 From: Leothlon Date: Fri, 2 Nov 2018 15:47:04 +0100 Subject: [PATCH] Added doc for new onkyo_select_hdmi_output service (#7334) --- .../_components/media_player.onkyo.markdown | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/source/_components/media_player.onkyo.markdown b/source/_components/media_player.onkyo.markdown index 0737d7a9124..d934f92b1f2 100644 --- a/source/_components/media_player.onkyo.markdown +++ b/source/_components/media_player.onkyo.markdown @@ -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. @@ -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 + +``` \ No newline at end of file