[mixer] Raise ducking decibel_reduction maximum to 255 (#19347)

This commit is contained in:
Kevin Ahrendt
2026-09-16 20:42:29 -05:00
committed by GitHub
parent 1a04359454
commit 34158e17b8
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -155,7 +155,7 @@ async def to_code(config: ConfigType) -> None:
{
cv.GenerateID(): cv.use_id(SourceSpeaker),
cv.Required(CONF_DECIBEL_REDUCTION): cv.templatable(
cv.int_range(min=0, max=51)
cv.int_range(min=0, max=255)
),
cv.Optional(CONF_DURATION, default="0.0s"): cv.templatable(
cv.positive_time_period_milliseconds
+1 -1
View File
@@ -3,7 +3,7 @@ esphome:
then:
- mixer_speaker.apply_ducking:
id: source_speaker_1_id
decibel_reduction: 10
decibel_reduction: 255
duration: 1s
speaker: