Problem with my own Component

I am trying to develop an external component.

I integrate this via the yaml file.

external_components:
  - source: 
      type: git
      url: https://github.com/MarioRosi/esphome
      ref: dev
    components: [ rollershutter ]

rollershutter:

When validating, an error: not existing component ‘ic2’ is thrown.

This ‘ic2’ component results from a typing error in the __init__.pyAUTO_LOAD = [..., “ic2”, ...]’.
I have fixed the error and updated github. The text ‘ic2’ no longer appears in any source code on repository.

Nevertheless, the error is still generated as soon as I include the component with ‘rollershutter:’.

Where does the device builder get the old source code from?

How can I force it to fetch the new source code from Github?

Best regards Mario

ESPHome does not pull the repo at each compile.
You can set a refresh: parameter to a short time, e.g. 10min

Another option is to create a git tag and reference it in ref:

1 Like

refresh: 0d works fine for developing timem

Thanks Chris