With the release of ESPHome 2025.2.0, custom components were removed from the ESPHome core.
This component brings back support for such components.
Custom component code from ESPHome 2024.10.0 as-is.
Add the following to your project's YAML:
external_components:
- source:
type: git
url: https://github.com/dan81andrei/esphome_custom
components: [ custom, custom_component ]
The ESPHome license (mixed GPL3/MIT) applies. See the LICENSE file for more information.