Document new service sonos_update_alarm

Documentation for https://github.com/home-assistant/home-assistant/pull/7521
This commit is contained in:
Marc Egli 2017-05-14 17:31:40 +02:00 committed by GitHub
parent 11a91d2ff6
commit 9bd1781a86

View File

@ -107,3 +107,15 @@ Clear the sleep timer on a speaker, if one is set.
| ---------------------- | -------- | ----------- |
| `entity_id` | no | String or list of `entity_id`s that will have their timers cleared. Must be a coordinator speaker.
### {% linkable_title Service `sonos_update_alarm` %}
Update an existing sonos alarm.
| Service data attribute | Optional | Description |
| ---------------------- | -------- | ----------- |
| `entity_id` | no | String or list of `entity_id`s that will have their timers cleared. Must be a coordinator speaker.
| `alarm_id` | no | Integer that is used in Sonos to refer to your alarm.
| `time` | yes | Time to set the alarm.
| `volume` | yes | Float for volume level.
| `enabled` | yes | Boolean for whether or not to enable this alarm.
| `include_linked_zones` | yes | Boolean that defines if the alarm also plays on grouped players.