How to create integration that installs without updating configuration.yaml

Hi
I have created an integration and it works fine for me. I also managed to install it via HACS from git repositories. While installing i get this message

This device cannot be added from the UI

You can add this device by adding it to your ‘configuration.yaml’. See the documentation for more information.

when i update configuration file it works.
But my question is , is there a way to make this integration work without updating configuration.yaml so that anyone can install easily.

thank you

I might be missing things as just new with integrations but I use the config_flow to have UI based setup and add the stuff in a config_entry, described here:

Config Flow | Home Assistant Developer Docs (home-assistant.io)

1 Like

i think that’s what i need. Lets see if i can setup the integration without the need of updating any code. Thank you

And this one I wish I had seen before too, you can create a initial integration and tweak it…

Creating your first integration | Home Assistant Developer Docs (home-assistant.io)