Skip to content

Never leave music ducked after an announcement - #33

Merged
Bunton33 merged 2 commits into
betafrom
claude/cast-pro1-ducking-unstick
Nov 24, 2026
Merged

Bunton33 merged 2 commits into
betafrom
claude/cast-pro1-ducking-unstick

Conversation

@Bunton33

@Bunton33 Bunton33 commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Version: 26.11.24.1

What does this implement/fix?

A CAST-1 user heard near-silent music until they set Announcement Ducking to 0 dB. The announcement automation ducks the music, then waits for the announcement to end with no time limit, and the backup un-duck in on_state was blocked while that wait ran. If an announcement stalled, music stayed at -40 dB until a reboot. The slider also did nothing until the next announcement.

  • The waits now time out after 10 minutes.
  • on_state un-ducks whenever nothing is announcing.
  • The slider applies right away.

A stuck announcement no longer re-ducks on the next volume press. The same fix is in both CAST-1 and CAST PRO-1.

Types of changes

  • Bugfix (fixed change that fixes an issue)
  • New feature (thanks!)
  • Breaking change (repair/feature that breaks existing functionality)
  • Dependency Update - Does not publish
  • Other - Does not publish
  • Website of github readme file update - Does not publish
  • Github workflows - Does not publish

Checklist / Checklijst:

  • The code change has been tested and works locally
  • The code change has not yet been tested

Compiles on ESPHome 2026.12-dev. Not run on hardware yet. To bench it, play music, send a TTS announcement, and check the music returns to full level. Then move the slider mid-announcement, and stop an announcement partway.

If user-visible functionality or configuration variables are added/modified:

  • Added/updated documentation for the web page

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Bunton33 Bunton33 added the bugfix Something isn't working label Nov 19, 2026
@coderabbitai

coderabbitai Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 69085c66-7145-40e2-a6c9-b30a3cd19096
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Bunton33
Bunton33 merged commit 27ad5d4 into beta Nov 24, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants