Install the ESPHome Device Builder add-on by following the official ESPHome documentation. (Note: This tutorial is based on ESPHome 2026.3.0. If you encounter compilation errors, switch to this version for verification.)
This section explains how to recompile the project from the yaml configuration file for secondary development, feature modifications, or adding new features.
Compilation Time
The first build may take a long time, depending on the performance of the Home Assistant host and network conditions.
Create Device
Open ESPHome Dashboard. If the initial wizard appears, click CONTINUE.
Click the green + button in the bottom right to create a new device.
Click New Device Setup to enter the device creation wizard.
Enter a device name and click NEXT.
Select the device type and click ESP32S3.
Click SKIP to skip the encryption key setup.
Modify Configuration
Click EDIT to open the YAML editor and customize the device configuration.
External Components Configuration
Add the External Components entry to load the early_init component from the M5Stack ESPHome repository.