-
Notifications
You must be signed in to change notification settings - Fork 723
Storage space usage API #6046
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Storage space usage API #6046
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is really cool! As its still in draft I'll just add comments for some thoughts looking at it rather then approve or not. But I'd love to see this UI in Home Assistant!
On the labels I added:
I can probably take care of these if you want, we just have to finalize the API first. |
As we discussed, I updated the URL, tweaked the structure a bit and added "total_space" and "system". We can update the buckets more in the future but if the protocol is OK, I'll update the docs and lib. |
Proposed change
We need this for better space management. To show charts like this in the frontend

Reports only the main disk right now but eventually we'll need the same data for USB mounts and maybe some network mounts.
Type of change
Additional information
host.get_disk_usage
to support the new API home-assistant-libs/python-supervisor-client#152Checklist
ruff format supervisor tests
)If API endpoints or add-on configuration are added/changed: