Store every configuration in yaml files

Hello,

I’m working with Hass.io on Raspberry Pi 2B+. I prefer to configure stuff via code and I try to setup all things in configuration.yaml and others (which I include in configratuin.yaml). With this approach I have one problem - if I add some integration addon (e.g. MQTT, Spotify) I need to configure it in the UI, therefore this changes are not reflected in my yamls and my configuration is in two places instead of just being in one.

Questions:

  1. Is there a way to configure addons via YAML? If yes, how to do that?
  2. Is there a way to tell Home Assistant to only work with config from yaml files and not take addon defaults into account?

Thanks in advance for all the answers!

Not all intergration support either method and its entirely up to the the developer of the integration which method they support (yaml or config flow)

That’s really sad :frowning: But thank you for your answer!