I would like to know if I can configure my ESPHome devices through HA’s configuration.yaml instead of adding each device through the UI.
My rationale for this, is I intend to create many ESPHome devices and I run HA in docker and my configuration in git. I like that I can start my docker-compose from any computer and it is all set up without any need to configure all my esphome devices manually.
That’s not really the point. I’d like to be able to commit my configuration to git, and have everything set up.
Currently I’m able to check out git with my docker-compose.yaml and ha configurations and everything thing works. It doesn’t matter if my computer burns down, I’ll only lose history.
Even kodi I can set up via gui or via yaml (git commitable).
Then I discovered esphome. Only gui. No yaml. Otherwise seems absolutely perfect.
Maybe I’ll hack away on esphome component then.
I agree with abbe, it would be nice to add esphome devices via configuration.yaml. for example I need to readd them, if I change API password or API encryption key. and I have about 50 devices to re-add