Skip to content

Automations & extra controls

Besides the normal player controls, Audio Control adds a few actions you can use in automations, scripts and buttons.

An automation: when, if, then do

Action What it does
Set bass Change a zone's bass (0 = flat)
Set treble Change a zone's treble (0 = flat)
All zones off Turn every zone off at once
Group mode on Make every zone play the same source
Group mode off Let each zone play its own source again

Not every amplifier has these

They only work on amplifiers that support them. Bass and treble levels depend on the model — the AMC X86i, for example, takes −8, −6, −4, 0, +4, +6, +8, and only while the zone is on. If a value isn't allowed, Home Assistant tells you which ones are.

Use them in an automation

  1. Settings → Automations & scenes → Create automation → Create new automation.
  2. Add a trigger — for example Time: 00:00.
  3. Under Then do, click Add action, search Audio Control, and choose an action — for example All zones off.
  4. Save.

Examples

Prefer to copy and paste? In the automation editor choose ⋮ → Edit in YAML and paste one of these.

Turn everything off at midnight

triggers:
  - trigger: time
    at: "00:00:00"
actions:
  - action: audio_control.all_zones_off

Warmer sound in the kitchen at dinner time

triggers:
  - trigger: time
    at: "18:30:00"
conditions:
  - condition: state
    entity_id: media_player.kitchen   # your zone
    state: "on"
actions:
  - action: audio_control.set_bass
    target:
      entity_id: media_player.kitchen
    data:
      level: 4

Party mode — every room plays source 3

actions:
  - action: audio_control.group_mode_on
    data:
      source: 3
Details for advanced users
Action Target Notes
audio_control.set_bass / set_treble zones, devices, areas, floors, labels level −12…+12; the device profile decides which levels are valid (default even −8…+8). Every valid zone is changed, then one error reports any that couldn't be
audio_control.all_zones_off none — all Audio Control amplifiers that support it
audio_control.group_mode_on none — all amplifiers with group mode source (number)
audio_control.group_mode_off none — all amplifiers with group mode