From 57ac0bf4d197a27ae4c31304b400ceac2356059d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20BARI=C5=9E?= Date: Tue, 10 Mar 2020 16:59:52 +0200 Subject: [PATCH] Update sonos.markdown (#12032) * Update sonos.markdown Sonos integration doesn't accept usage of `snapshot` and `restore` without `entity_id` after 0.105.0. See https://github.com/home-assistant/home-assistant/issues/31650#issue-562108449. * Addresses review comments * Fix linter warnings Co-authored-by: Franck Nijhof --- source/_integrations/sonos.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/_integrations/sonos.markdown b/source/_integrations/sonos.markdown index b7e93ba549d..638f56c4566 100644 --- a/source/_integrations/sonos.markdown +++ b/source/_integrations/sonos.markdown @@ -31,7 +31,7 @@ The queue is not snapshotted and must be left untouched until the restore. Using | Service data attribute | Optional | Description | | ---------------------- | -------- | ----------- | -| `entity_id` | yes | The speakers to snapshot. +| `entity_id` | no | The speakers to snapshot. To target all Sonos devices, use `all`. | `with_group` | yes | Should we also snapshot the group layout and the state of other speakers in the group, defaults to true. ### Service `sonos.restore` @@ -50,7 +50,7 @@ A cloud queue cannot be restarted. This includes queues started from within Spot | Service data attribute | Optional | Description | | ---------------------- | -------- | ----------- | -| `entity_id` | yes | String or list of `entity_id`s that should have their snapshot restored. +| `entity_id` | no | String or list of `entity_id`s that should have their snapshot restored. To target all Sonos devices, use `all`. | `with_group` | yes | Should we also restore the group layout and the state of other speakers in the group, defaults to true. ### Service `sonos.join`