mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-24 01:37:23 +00:00
Added doc for new onkyo_select_hdmi_output service (#7334)
This commit is contained in:
parent
0acdfda0fd
commit
a072f9e1e9
@ -80,6 +80,20 @@ List of source names:
|
|||||||
- xm
|
- xm
|
||||||
- sirius
|
- 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 %}
|
### {% linkable_title Example `play_media` script %}
|
||||||
|
|
||||||
The `play_media` function can be used in script to play radio station by preset number.
|
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"
|
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
|
||||||
|
|
||||||
|
```
|
Loading…
x
Reference in New Issue
Block a user