From 49ffad24f32208b0455fd014c604c439fd0c36db Mon Sep 17 00:00:00 2001 From: thrawnarn Date: Wed, 21 Feb 2018 15:41:48 +0100 Subject: [PATCH] New service methods for the Bluesound component (#4340) * New service methods * Spelling --- .../media_player.bluesound.markdown | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/source/_components/media_player.bluesound.markdown b/source/_components/media_player.bluesound.markdown index f711cbe8971..999d2cd9298 100644 --- a/source/_components/media_player.bluesound.markdown +++ b/source/_components/media_player.bluesound.markdown @@ -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.