mirror of
https://github.com/esphome/esphome.git
synced 2026-09-17 18:18:43 +00:00
[mixer] Raise ducking decibel_reduction maximum to 255 (#19347)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -3,7 +3,7 @@ esphome:
|
||||
then:
|
||||
- mixer_speaker.apply_ducking:
|
||||
id: source_speaker_1_id
|
||||
decibel_reduction: 10
|
||||
decibel_reduction: 255
|
||||
duration: 1s
|
||||
|
||||
speaker:
|
||||
|
||||
Reference in New Issue
Block a user