Option to put user library into custom directory? #3080
Replies: 2 comments 3 replies
-
Hi, if I was doing this new I'd use the config/.storage folder but the required change is significant as I'd have to modify the new battery submissions form, schema, and consider user transition. |
Beta Was this translation helpful? Give feedback.
-
Version 2.9.10 just released now has the library in the Home Assistant .storage folder and is only downloaded, not installed as part of the package. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Checklist
Is your feature request related to a problem? Please describe.
Hi! I am currently packaging
HA-Battery-Notes
for nixpkgs (here). I stumble upon the issue that it fails to read itslibrary.json
, because on nix, all installed artifacts are immutable (see traceback here).Describe the solution you'd like
For that issue to be resolved, it would be nice if there was an option to tell
HA-Battery-Notes
a custom location where to put thelibrary.json
, so I could point it to/var/cache/...
or something other sensible (like suggested by this comment).Describe alternatives you've considered
One alternative would be to manually patch
HA-Battery-Notes
for each installation via nixpkgs. Otherwise the package is not usable for nix users from what I see.Additional context
Thanks a lot for your effort writing this awesome HA extension!
Beta Was this translation helpful? Give feedback.
All reactions