4 ms·
> But like, isn't YAML still available for configuring things? For most, yes. But for some included integrations it's UI-only (all of those I've had to migrate
by sofixa 2y ago
> But like, isn't YAML still available for configuring things?
For most, yes. But for some included integrations it's UI-only (all of those I've had to migrate, it's been a single click + comment out lines, and the config has been a breeze (stuff like just an api key/IP address + 1-2 optional params).
- lolinder 2y agoWhere and how are those configs stored? There has to be a backing representation somewhere, right?
- sofixa 2y agoIn the Home assistant database (which is SQLite IIRC).
- iamjackg 2y agoUI-generated configs are not stored in the database, they end up in a collection of JSON files in a .storage directory inside your config directory.
- lokar 2y agoAnd there is no real API for you to interact with it. I would build my own config system if I could, but they don’t seem interested.
- lolinder 2y agoSQLite is highly automatable if you can deal with downtime to do your migrations. I'm sure there are things they could do to better support the power-user engineer use case, but at the end of the day it's a self-hosted web app written in Python that has strong support for plugins. There should be very few things that an engineer couldn't figure out how to do between writing a plugin, tweaking source code, and just modifying files in place. And in the meantime I'm glad that it exists and apparently has enough traction to pay for itself.