Open informagico opened 2 weeks ago
I did recently put in an update checker into my nodered flows to add a latest-version sensor for the basic and advanced flows. It used a versions.json file that I also include the dashboard yamls in, but currently it is unused.
would be much more reliable than getting latest version, as I do not update the cards with every release (since everything is in the same repository).
Though it's also a bit tough because not every release updates all the cards too (printer yaml(s) for each printer, details yaml, fan/temp control yaml, each ams or external spool yaml etc), and atm I only bundle them as one version.
I like the idea, will play around with it a bit.
Oh, that's cool! Yes, the fact that everything is in the same repository makes it difficult to understand (from the user POV) if it is actually needed to update but still, could be a nice touch to have something that says "hey, watch out for an updated version of the dashboard!" 😃
Yeah since this started out as just a collection of gists, when I moved everything over to a repo I still had mainly just the nodered support, so having it all in one place was fine (since also then, the dashboard yamls rarely ever updated).
It's why for the most part, I always outline in the release notes on github what actually changes in each release, and update the guides to reflect.
This is just an idea/proof of concept and didn't wanted to add a PR 😄 It would be interesting to have something on the dashboard that let you know if there are any updates available for the cards.
I imagined something like this.
Add a sensor that fetches latest release from GitHub (I know, there are also blueprints/etc..)
Add a conditional card on the dashboard that shows a button if any update is available
Example of update available:![image](https://github.com/WolfwithSword/Bambu-HomeAssistant-Flows/assets/38808827/a4eb3aa7-b7dc-484a-b196-b1a2e521de4e)
Once clicked it redirects to your website.