No description
Find a file
2026-02-09 17:12:12 +01:00
packages add timezone 2026-02-09 17:12:12 +01:00
.gitignore Initial commit 2026-02-03 02:00:11 +01:00
esphome.sh Initial commit 2026-02-03 02:00:11 +01:00
example-ha-addon.yaml Add example for esphome device builder 2026-02-03 02:45:29 +01:00
example-lolin-tft.yaml add screensaver 2026-02-08 21:21:36 +01:00
example.yaml Add keep-awake entity 2026-02-03 20:25:15 +01:00
LICENSE Add LICENSE 2026-02-03 02:47:22 +01:00
README.md Add README 2026-02-03 02:04:15 +01:00

ESPHome LVGL Switchplate

This project provides a modular, fully customizable ESPHome configuration for creating smart switch panels using the WT32-SC01 and WT32-SC01 Plus touchscreens with LVGL.

🛠️ Usage

To create a new device:

  1. Copy example.yaml to a new file (e.g., my-room.yaml).
  2. Edit the substitutions block to match your Home Assistant entities and preferences:
    • Device Info: Name and friendly name.
    • Entities: Map your HA lights, switches, and sensors.
    • Icons: Copy/paste Material Design Icon glyphs (e.g., \U000F0335).
    • Services: Choose between light.toggle, switch.toggle, etc.
  3. Compile and upload!

🧩 Customization

The UI is defined in packages/common/ui.yaml. Thanks to the substitution system, you can change the behavior of the main buttons without touching the core UI code:

substitutions:
  # Change the icon for button 2
  icon_main_2: "\U000F0594" # mdi:weather-night

  # Change the action for button 2
  service_main_2: "switch.toggle"