Skip to content

Add alarm support notes for Sonos#44476

Open
PeteRager wants to merge 3 commits intohome-assistant:currentfrom
PeteRager:sonos-alarm-notes
Open

Add alarm support notes for Sonos#44476
PeteRager wants to merge 3 commits intohome-assistant:currentfrom
PeteRager:sonos-alarm-notes

Conversation

@PeteRager
Copy link
Copy Markdown
Contributor

Proposed change

Type of change

  • Spelling, grammar or other readability improvements (current branch).
  • Adjusted missing or incorrect information in the current documentation (current branch).
  • Added documentation for a new integration I'm adding to Home Assistant (next branch).
  • Added documentation for a new feature I'm adding to Home Assistant (next branch).
  • Removed stale or deprecated documentation.

Additional information

Checklist

  • This PR uses the correct branch, based on one of the following:
    • I made a change to the existing documentation and used the current branch.
    • I made a change that is related to an upcoming version of Home Assistant and used the next branch.
  • The documentation follows the Home Assistant documentation standards.

@PeteRager PeteRager requested a review from jjlawren as a code owner April 3, 2026 00:30
Copilot AI review requested due to automatic review settings April 3, 2026 00:30
@home-assistant home-assistant bot added the current This PR goes into the current branch label Apr 3, 2026
@netlify
Copy link
Copy Markdown

netlify bot commented Apr 3, 2026

Deploy Preview for home-assistant-docs ready!

Name Link
🔨 Latest commit a839f36
🔍 Latest deploy log https://app.netlify.com/projects/home-assistant-docs/deploys/69cfb0f8d10769000840275b
😎 Deploy Preview https://deploy-preview-44476--home-assistant-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Sonos integration documentation to clarify limitations when modifying multiple Sonos alarms in quick succession, and how to avoid missed alarm updates.

Changes:

  • Rewords the existing alarm switch description for clarity and consistency.
  • Adds guidance about Sonos alarm list synchronization limitations when updating multiple alarms rapidly.
  • Adds a YAML example showing inserting delays between alarm updates.

Comment on lines +79 to +87
When enabling, disabling, or updating multiple Sonos alarms in a single automation or script, you may notice that not all alarms update as expected. This is a limitation of how Sonos synchronizes its alarm list across all speakers. If multiple alarm updates are sent rapidly (for example, by toggling several alarm switches at once), some changes may be lost or overwritten before they are fully synchronized between speakers.

To ensure reliable updates, add a wait between each alarm update in your automation. A 1 second wait works well as a starting point, but you may need to increase it based on your setup. For example, add a `delay` action between each `switch.turn_on`, `switch.turn_off`, or `sonos.update_alarm` action call. This gives Sonos time to synchronize the alarm list before the next change.

_Example:_

```yaml
sequence:
- action: switch.turn_on
Copy link

Copilot AI Apr 3, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The text says this applies to an “automation or script,” but the YAML example is structured as a script sequence: snippet. To avoid copy/paste confusion, either adjust the wording to explicitly say the example is for a script sequence, or provide an automation-style example (using actions:) as well.

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed to be a sample automations

PeteRager and others added 2 commits April 3, 2026 08:21
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

current This PR goes into the current branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enabling/Disabling multiple Sonos alarms does not work consistently

2 participants