Add access to share for use with other add-ons #397
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Proposed Changes
Add acces to the directories
/media
and/share
, as originally requested in #133. According to this post in the community forum, these folders are intended for the sharing of files between (home assistant and) addons, so I think the addon should have access to them.The specific use case that brought me to this: I have an SQLite database file that I want to store locally and read in Grafana. I could put it in
/homeassistant_config
or/ssl
, but conceptually it doesn't fit there. I'd much prefer having it in/share
.Related Issues
Originally discussed in #133.