Skip to content

Commit 216f5a4

Browse files
MartinHjelmareTeagan Glenn
authored and
Teagan Glenn
committed
Fix media_player services (home-assistant#860)
* Correct service and attribute names and add missing services.
1 parent 7ac8c00 commit 216f5a4

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

source/_components/media_player.markdown

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,32 +14,32 @@ Interacts with media players on your network. Please check the sidebar for a ful
1414
## {% linkable_title Services %}
1515

1616
### {% linkable_title Media control services %}
17-
Available services: `turn_on`, `turn_off`, `toggle`, `volume_up`, `volume_down`, `media_play_pause`, `media_play`, `media_pause`, `media_next_track`, `media_previous_track`, `clear_playlist`
17+
Available services: `turn_on`, `turn_off`, `toggle`, `volume_up`, `volume_down`, `media_play_pause`, `media_play`, `media_pause`, `media_stop`, `media_next_track`, `media_previous_track`, `clear_playlist`
1818

1919
| Service data attribute | Optional | Description |
2020
| ---------------------- | -------- | ----------- |
2121
| `entity_id` | yes | Target a specific media player. Defaults to all.
2222

23-
#### {% linkable_title Service `media_player/mute_volume` %}
23+
#### {% linkable_title Service `media_player/volume_mute` %}
2424

25-
| Service data attribute | Optional | Description |
26-
| ---------------------- | -------- | ----------- |
27-
| `entity_id` | yes | Target a specific media player. Defaults to all.
28-
| `mute` | no | True/false for mute/unmute
25+
| Service data attribute | Optional | Description |
26+
|------------------------|----------|--------------------------------------------------|
27+
| `entity_id` | yes | Target a specific media player. Defaults to all. |
28+
| `is_volume_muted` | no | True/false for mute/unmute |
2929

30-
#### {% linkable_title Service `media_player/set_volume_level` %}
30+
#### {% linkable_title Service `media_player/volume_set` %}
3131

32-
| Service data attribute | Optional | Description |
33-
| ---------------------- | -------- | ----------- |
34-
| `entity_id` | yes | Target a specific media player. Defaults to all.
35-
| `volume` | no | Integer for volume level
32+
| Service data attribute | Optional | Description |
33+
|------------------------|----------|--------------------------------------------------|
34+
| `entity_id` | yes | Target a specific media player. Defaults to all. |
35+
| `volume_level` | no | Integer for volume level |
3636

3737
#### {% linkable_title Service `media_player/media_seek` %}
3838

39-
| Service data attribute | Optional | Description |
40-
| ---------------------- | -------- | ----------- |
41-
| `entity_id` | yes | Target a specific media player. Defaults to all.
42-
| `position` | no | Position to seek to. The format is platform dependent.
39+
| Service data attribute | Optional | Description |
40+
|------------------------|----------|--------------------------------------------------------|
41+
| `entity_id` | yes | Target a specific media player. Defaults to all. |
42+
| `seek_position` | no | Position to seek to. The format is platform dependent. |
4343

4444
#### {% linkable_title Service `media_player/play_media` %}
4545

0 commit comments

Comments
 (0)