Water meter and custom components failed

Hopefully someone can help, I am probably doing something daft, but I have been trying to do this for a while.

I am trying to set up a water meter reader using a ESP32 and CC1101 module.

When I validate the yaml file in esphome builder I get the error

INFO ESPHome 2025.11.0
INFO Reading configuration /config/esphome/esp32watermeter.yaml…
INFO Updating https://github.com/SzczepanLeon/esphome-components.git@main
Failed config

external_components: [source /config/esphome/esp32watermeter.yaml:95]

  • source: github://SzczepanLeon/esphome-components@main
    refresh: 0s
    components:

    Could not find init.py file for component wmbus. Please check the component is defined by this source (search path: /data/external_components/5c086c68/components/wmbus/init.py).

    • wmbus

The part in the yaml file that gives me this error is

external_components:

  • source: github://SzczepanLeon/esphome-components@main
    refresh: 0s
    components: [wmbus]

I will be grateful for any help.

Remove that line. Have a look at the example on the repository.

If that doesn’t help - post your full yaml, with code tags:

Hi,
I hear you!
I found out that running your esphome code compiled with esphome version 2025.6.3 and have the custom component version fixed to

- source: github://SzczepanLeon/esphome-components@version_4 

works!

I am running this until Code owner updates cc1101 support into latest

Hope this helps!