Add udisks2 dbus support
Proposed change
Closes https://github.com/home-assistant/supervisor/issues/2564
Type of change
- [ ] Dependency upgrade
- [ ] Bugfix (non-breaking change which fixes an issue)
- [x] New feature (which adds functionality to the supervisor)
- [ ] Breaking change (fix/feature causing existing functionality to break)
- [ ] Code quality improvements to existing code or addition of tests
Additional information
- This PR fixes or closes issue: fixes #
- This PR is related to issue: https://github.com/home-assistant/supervisor/issues/2564
- Link to documentation pull request:
- Link to cli pull request:
Checklist
- [ ] The code change is tested and works locally.
- [ ] Local tests pass. Your PR cannot be merged unless tests pass
- [ ] There is no commented out code in this PR.
- [ ] I have followed the development checklist
- [ ] The code has been formatted using Black (
black --fast supervisor tests) - [ ] Tests have been added to verify that the new code works.
If API endpoints of add-on configuration are added/changed:
- [ ] Documentation added/updated for developers.home-assistant.io
Looking at the typed dictionaries in Block we could add something generic to the dbus utils that looks at a dictionary and converts it into one with Variant key values. It wouldn't be difficult to handle those since all the values are just str or int from the looks of it.
But I don't know what can go in options in these various method calls.
Looking at the typed dictionaries in Block we could add something generic to the dbus utils that looks at a dictionary and converts it into one with
Variantkey values. It wouldn't be difficult to handle those since all the values are juststrorintfrom the looks of it.But I don't know what can go in
optionsin these various method calls.
this is a good idea, and options use basic types too (see my updates) but I think it makes more sense to do in a separate PR and think about it more holistically. There are few enough options here that it was simple to do it by hand
There hasn't been any activity on this pull request recently. This pull request has been automatically marked as stale because of that and will be closed if no further activity occurs within 7 days. Thank you for your contributions.
Not stale
There hasn't been any activity on this pull request recently. This pull request has been automatically marked as stale because of that and will be closed if no further activity occurs within 7 days. Thank you for your contributions.