mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
Make title linkable
This commit is contained in:
parent
3a8457c71a
commit
6cd6de1236
@ -11,20 +11,22 @@ footer: true
|
|||||||
|
|
||||||
Interacts with media players on your network. Please check the sidebar for a full list of supported devices.
|
Interacts with media players on your network. Please check the sidebar for a full list of supported devices.
|
||||||
|
|
||||||
## Services
|
## {% linkable_title Services %}
|
||||||
|
|
||||||
### Media control services
|
|
||||||
|
### {% linkable_title Media control services %}
|
||||||
Available services: `turn_off`, `volume_up`, `volume_down`, `media_play_pause`, `media_play`, `media_pause`, `media_next_track`
|
Available services: `turn_off`, `volume_up`, `volume_down`, `media_play_pause`, `media_play`, `media_pause`, `media_next_track`
|
||||||
|
|
||||||
| Service data attribute | Optional | Description |
|
| Service data attribute | Optional | Description |
|
||||||
| ---------------------- | -------- | ----------- |
|
| ---------------------- | -------- | ----------- |
|
||||||
| `entity_id` | yes | Target a specific media player. Defaults to all.
|
| `entity_id` | yes | Target a specific media player. Defaults to all.
|
||||||
|
|
||||||
### Media play services
|
### {% linkable_title Media play services %}
|
||||||
|
|
||||||
There are three services to start playing YouTube video's on the media player.
|
There are three services to start playing YouTube video's on the media player.
|
||||||
|
|
||||||
#### Service `media_player/play_youtube_video`
|
#### {% linkable_title Service `media_player/play_youtube_video` %}
|
||||||
|
|
||||||
Service to start playing a YouTube video on the media player.
|
Service to start playing a YouTube video on the media player.
|
||||||
|
|
||||||
| Service data attribute | Optional | Description |
|
| Service data attribute | Optional | Description |
|
||||||
@ -32,8 +34,8 @@ Service to start playing a YouTube video on the media player.
|
|||||||
| `entity_id` | yes | Target a specific media player. Defaults to all.
|
| `entity_id` | yes | Target a specific media player. Defaults to all.
|
||||||
| `video` | no | YouTube video to be played, ie. `L0MK7qz13bU`
|
| `video` | no | YouTube video to be played, ie. `L0MK7qz13bU`
|
||||||
|
|
||||||
|
#### {% linkable_title Service `media_player/start_fireplace` and `media_player/start_epic_sax` %}
|
||||||
|
|
||||||
#### Service `media_player/start_fireplace` and `media_player/start_epic_sax`
|
|
||||||
Will either start a fireplace or Epic Sax Guy 10h on the media player.
|
Will either start a fireplace or Epic Sax Guy 10h on the media player.
|
||||||
|
|
||||||
| Service data attribute | Optional | Description |
|
| Service data attribute | Optional | Description |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user