Adding sonos timer documentation

This commit is contained in:
Scott O'Neil 2016-07-26 18:31:24 -05:00
parent 728f9094c6
commit 1b4c2b61eb

View File

@ -86,3 +86,12 @@ Remove one or more speakers from a group of speakers. If no `entity_id` is provi
| ---------------------- | -------- | ----------- | | ---------------------- | -------- | ----------- |
| `entity_id` | no | String or list of `entity_id`s that will be separated from their coordinator speaker. | `entity_id` | no | String or list of `entity_id`s that will be separated from their coordinator speaker.
### {% linkable_title Service `sonos_set_sleep_timer` %}
Sets a timer that will turn off a speaker by tapering the volume down to 0 after a certain amount of time. Protip: If you set the sleep_time value to 0, then the speaker will immediately start tapering the volume down.
| Service data attribute | Optional | Description |
| ---------------------- | -------- | ----------- |
| `entity_id` | no | String or list of `entity_id`s that will have their timers set. Must be a coordinator speaker.
| `sleep_time` | no | Integer number of seconds that the speaker should wait until it starts tapering. Cannot exceed 86399 (one day).