Add Update Entity#49
Open
SteveMicroNova wants to merge 4 commits into
Open
Conversation
Author
|
I am now declaring this not a draft, though if we decide to support the full gamut of updates instead of just the latest update we can set it back to draft |
SteveMicroNova
commented
Jun 23, 2025
Comment on lines
+18
to
+28
| class AmpliPiDataSchema(BaseModel): | ||
| status: Status | ||
| latest: dict | ||
| releases: List[dict] |
Author
There was a problem hiding this comment.
A lot of the changes in this PR are just downstream effects of needing to add the github info to the data_coordinator's data stream
1c8ce8e to
ccb44f2
Compare
f98c24e to
f68b0a7
Compare
Author
29affe2 to
57ad39e
Compare
…tor and models.py Move supported features to the parent class Fix errors caused by moving supported_features property to parent class Create helper functions to handle the rca-source relationship fill stream extra_attributes with potentially useful data Move helper functions from class to global context Merge AmpliPi client object with AmpliPiCoordinator to get even faster polling
f68b0a7 to
fb9d769
Compare
… rename the _client attribute to _data_client for the same reason
323906d to
63b1592
Compare
…ting to what releases are available
63b1592 to
c1b9aa8
Compare
e7192a8 to
50d44bd
Compare
Merged
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.
Adds the ability to notice that the underlying amplipi system has an update as well as install it from home assistant
Note that this suffers from the same issues that the updater itself does, namely failing for unknown reasons and needing to simply hit "update" again