From 1ed6133ee64dc07ddc26ca6414ce976ab246e393 Mon Sep 17 00:00:00 2001 From: tkdrob Date: Wed, 7 Oct 2020 02:18:13 -0400 Subject: [PATCH] Add update_alarm to sonos services.yaml (#41376) --- homeassistant/components/sonos/services.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/homeassistant/components/sonos/services.yaml b/homeassistant/components/sonos/services.yaml index 7a8e2195bf4..effb19c47b7 100644 --- a/homeassistant/components/sonos/services.yaml +++ b/homeassistant/components/sonos/services.yaml @@ -87,3 +87,22 @@ remove_from_queue: queue_position: description: Position in the queue to remove. example: "0" + +update_alarm: + description: Updates an alarm with new time and volume settings. + fields: + alarm_id: + description: ID for the alarm to be updated. + example: "1" + time: + description: Set time for the alarm. + example: "07:00" + volume: + description: Set alarm volume level. + example: "0.75" + enabled: + description: Enable or disable the alarm. + example: "true" + include_linked_zones: + description: Enable or disable including grouped rooms. + example: "true"