Replace deprecated get_supervisor_info addons field with get_addons_info#105
Draft
Replace deprecated get_supervisor_info addons field with get_addons_info#105
get_supervisor_info addons field with get_addons_info#105Conversation
Co-authored-by: ludeeus <15093472+ludeeus@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Remove addons field from get_supervisor_info response
Replace deprecated Mar 2, 2026
get_supervisor_info addons field with get_addons_info
|
Actually @ludeeus give me a sec on this one. There appears to be an issue with this suggested alternative. The way the code pattern works in the hassio component right now is this:
The problem is if that second call fails it apparently sticks |
21 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
get_supervisor_infowill stop returning theaddonsfield in an upcoming HA Core release, breaking addon discovery in this integration.Changes
__init__.py: Swapget_supervisor_infoforget_addons_info(returnsdict[slug, addon_info]instead of a flat list underaddonskey)get_ha_installed_addons: Unwrap the dict values to preserve the existinglist[dict]return typeget_addons_infois available in the current stable release, so this change is backward-compatible.Original prompt
get_supervisor_infowill no longer returnaddonssoon #104✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.