Configuration.yaml vs config done in the web interface

Hi,

It appears to this newbie that HA is evolving towards web config instead of everything in YAML. Is that right? - for me its a slightly confusing mix right now since integrations seem to vary and docs are inconsistent.

Where is it putting the config done in the web interface? Not in the config directory that I can find.

Anyway - my configuration.yaml doesn’t have a homeassistant: section. I need to add:

  packages: !include_dir_named packages

Into the homeassistant: section to load Tony Apuzzo’s packge openevse.yaml

What do I do?

Thanks

2 Likes

You add

homeassistant:
  packages: !include_dir_named packages

It’s evolving towards being able to do it all in the UI, if that’s what you want.

Well, yes it is, but it’s “hidden”. There’s a folder called .storage/ (the leading . marks it as hidden) and most things you set through the UI are written to files in there. I say most, because scripts, automations, and a few other things get written to YAML files - just never configuration.yaml.

Thanks - that was helpful.

I notice that the stuff in .config is in JSON. I’m much more confortable with JSON than YAML. Is it possible to write other configs in JSON too? Obviously the resulting data structures in Python end up the same.

Steve

Short answer - no, HA expects YAML.