Skip to content

A live bird collage card for your Home Assistant dashboard.

Add one more gain option

Alex Iribarrena5c7110648e2
diff --git a/homepage/static/custom-audio-player.js b/homepage/static/custom-audio-player.js
index 1252d370..f07db77a 100644
--- a/homepage/static/custom-audio-player.js
+++ b/homepage/static/custom-audio-player.js
@@ -573,8 +573,8 @@ Channels: ${channels}`
return container;
};
- const gainOptions = ["Off", "6", "12", "18", "24"];
- const gainValues = { Off: 1, "6": 2, "12": 4, "18": 8, "24": 16 };
+ const gainOptions = ["Off", "6", "12", "18", "24", "30"];
+ const gainValues = { Off: 1, "6": 2, "12": 4, "18": 8, "24": 16, "30": 32 };
let activeGain = gainOptions.includes(savedGain) ? savedGain : "Off";
const gainContainer = createOptionSection("Gain (dB):");
const gainButtons = gainOptions.map((opt) =>