In the beginning all the setup was done via the YAML files but now things are moving towards using the integrations in the UI, which from user friendliness point of view makes a lot of sense. Also, writing YAML by hand can be (is) a pain.
However, for those of us who are generating the YAML from other sources in order to have a single canonical source of truth as well not needing to back up the HA instance, this move to UI integrations is quite concerning.
As I already have a list of all devices, I am very much not interesting in having to manually add them back again into the UI if at all possible to simply generate the YAML instead.
What exactly are the plans for configuration via YAML (or any other format really - it doesnât matter) and using the UI to define the integrations? Will YAML continue? Is there a way to generate the required configuration for UI integrations without using the UI?
As above. Also yaml integration takes precedence over ui, so if you have an integration defined in yaml, ha will ignore discovery for that specific integration. Listen to the hass podcast for 0.94 where this is discussed
Thanks for the pointers - wasnât aware of that (hence the question). Still, 2 questions:
This âWe wonât deprecate YAML, itâs here to stay. All recent additions can still be achieved with YAMLâ can be read as: âEverything you can currently do in YAML, will stay supported but future integrations/features may not support itâ - or am I reading too much into it?
Can somebody point me to the documentation on how to configure a gpslogger webhook through yaml (an others for that matter)?
Re 1 - thatâs correct. In fact there was a discussion in the architecture repo where someone suggested a âruleâ for new integrations that they must be manageable by yaml as well as UI and it was shot down by the supreme leader, so whilst it has always been âpromisedâ that configuration will stay yaml based I think your concerns are valid and I would be prepared for the day where the promise is broken.
I think that GPS logger might be a case where you have to remove the config from yaml and use the integration. Just going off some of the chatter in discord about it.
Looks like âareasâ are also unavailable via YAML. I need to look at generating a script for hass-cli that can be run on start-up to configure everything that cannot be configured via yaml.