Board: Waveshare Touch-LCD backlight pin conflict (ESPHome 2026.10)

ESPHome 2026.10 fails to validate the Waveshare ESP32-S3 Touch-LCD 4.3,
4.3B and 7 boards with "Pin 2 is used in multiple places". The mipi_rgb
models now set ch422g pin 2 (backlight) as a default enable_pin, and
the board already uses that pin for backlight_output, which drives the
backlight light used by the LVGL designs to turn the screen off and on.

- Override enable_pin to leave out pin 2, so the backlight stays under
  light control: pin 6 only on the 7 board, none on the 4.3 and 4.3B.
- This matches what esphome/esphome#21605 will do automatically. The
  override can be removed once min_version includes that change.
This commit is contained in:
Sleeper85 committed 2026-11-08 23:08:33 +01:00
1 parent 7c8abeec0a
commit 0d56db9849
3 files changed
+20 -6

No files matched your search

@@ -1,5 +1,5 @@
# Updated : 2026.07.30
# Version : 1.2.2
# Updated : 2026.11.1
# Version : 1.2.3
# GitHub : https://github.com/Sleeper85/esphome-yambms
# YamBMS ( Yet another multi-BMS Merging Solution )
@@ -170,5 +170,9 @@ display:
- platform: mipi_rgb
id: my_display
model: ESP32-S3-TOUCH-LCD-4.3
# The model drives ch422g pin 2 (backlight) as enable_pin, which conflicts with backlight_output.
# No enable pin so the backlight stays under light control.
# Can be removed once min_version includes https://github.com/esphome/esphome/pull/21605
enable_pin: []
update_interval: never
auto_clear_enabled: false
@@ -1,5 +1,5 @@
# Updated : 2026.07.30
# Version : 1.2.2
# Updated : 2026.11.1
# Version : 1.2.3
# GitHub : https://github.com/Sleeper85/esphome-yambms
# YamBMS ( Yet another multi-BMS Merging Solution )
@@ -146,5 +146,9 @@ display:
- platform: mipi_rgb
id: my_display
model: ESP32-S3-TOUCH-LCD-4.3
# The model drives ch422g pin 2 (backlight) as enable_pin, which conflicts with backlight_output.
# No enable pin so the backlight stays under light control.
# Can be removed once min_version includes https://github.com/esphome/esphome/pull/21605
enable_pin: []
update_interval: never
auto_clear_enabled: false
@@ -1,5 +1,5 @@
# Updated : 2026.07.30
# Version : 1.2.2
# Updated : 2026.11.1
# Version : 1.2.3
# GitHub : https://github.com/Sleeper85/esphome-yambms
# YamBMS ( Yet another multi-BMS Merging Solution )
@@ -171,5 +171,11 @@ display:
- platform: mipi_rgb
id: my_display
model: ESP32-S3-TOUCH-LCD-7-800X480
# The model drives ch422g pin 2 (backlight) as enable_pin, which conflicts with backlight_output.
# Keep pin 6 only so the backlight stays under light control.
# Can be removed once min_version includes https://github.com/esphome/esphome/pull/21605
enable_pin:
- ch422g: ch422g_hub
number: 6
update_interval: never
auto_clear_enabled: false