Remove gang_count_plural_suffix and set audio channel to mono

This commit is contained in:
Edward Firmo
2025-08-01 08:51:33 +02:00
parent 8e4bbda412
commit ad92799035
3 changed files with 9 additions and 13 deletions

View File

@@ -11,6 +11,9 @@
##### - For normal system use, modifications to this file are NOT required. #####
####################################################################################################
---
substitutions:
SWITCH_AUDIO_AMPLIFIER_RESTORE_MODE: RESTORE_DEFAULT_ON
esphome:
platformio_options:
build_flags:
@@ -35,13 +38,13 @@ script:
ESP_LOGCONFIG(ESPHOME_PROJECT_NAME, " - Standard - Hardware - Audio");
switch:
- id: sw_enable_audio
name: Enable Audio
- id: sw_audio_amplifier
name: Audio Amplifier
platform: gpio
pin:
number: GPIO26
inverted: true
restore_mode: RESTORE_DEFAULT_ON
inverted: false
restore_mode: ${SWITCH_AUDIO_AMPLIFIER_RESTORE_MODE}
internal: true
entity_category: config
...