When I got the ESP32 S3 Box the volume was not sufficient. Some Googling later I found a config that works. Just add these lines to your config. All credit goes to the respective developers. 110% works for me.
esp_box_volume:
id: box_volume
external_components:
- source: github://sammcj/esphome-esp-s3-box-3-volume@main
components: [esp_box_volume]
refresh: always
switch:
- platform: template
name: "Set Volume to 80%"
optimistic: true
on_turn_on:
- lambda: id(box_volume).set_volume(0.80);
- platform: template
name: "Set Volume to 85%"
optimistic: true
on_turn_on:
- lambda: id(box_volume).set_volume(0.85);
- platform: template
name: "Set Volume to 90%"
optimistic: true
on_turn_on:
- lambda: id(box_volume).set_volume(0.90);
- platform: template
name: "Set Volume to 110%"
optimistic: true
on_turn_on:
- lambda: id(box_volume).set_volume(1.1);