New service methods for the Bluesound component (#4340)

* New service methods

* Spelling
This commit is contained in:
thrawnarn 2018-02-21 15:41:48 +01:00 committed by c727
parent eb459f50b5
commit 49ffad24f3

View File

@ -46,3 +46,37 @@ media_player:
port: 11000
- host: 192.168.1.131
```
### {% linkable_title Service `bluesound_join` %}
Group players together under a single master speaker. That will make a new group or join to exists group.
| Service data attribute | Optional | Description |
| ---------------------- | -------- | ----------- |
| `master` | no | A single `entity_id` that will become/hold the master speaker.
| `entity_id` | no | String or list of a single `entity_id` that will group to master speaker.
### {% linkable_title Service `bluesound_unjoin` %}
Remove one or more speakers from a group of speakers. If no `entity_id` is provided, all speakers are unjoined.
| Service data attribute | Optional | Description |
| ---------------------- | -------- | ----------- |
| `entity_id` | yes | String or list of `entity_id`s that will be separated from their master speaker.
### {% linkable_title Service `bluesound_set_sleep_timer` %}
Sets a timer that will turn off the speaker. For each time you call this it will increase the time by one step. The steps are (in minutes): 15, 30, 45, 60, 90, 0.
If you increase an ongoing timer of for example 13 minutes, it will increase it to 15. If the timer is set to 90, it will remove the time (hence the 0).
| Service data attribute | Optional | Description |
| ---------------------- | -------- | ----------- |
| `entity_id` | no | String or list of `entity_id`s that will have their timers set.
### {% linkable_title Service `bluesound_clear_sleep_timer` %}
Clear the sleep timer on a speaker, if one is set.
| Service data attribute | Optional | Description |
| ---------------------- | -------- | ----------- |
| `entity_id` | no | String or list of `entity_id`s that will have their timers cleared.