Home Assistant to notify on Zigbee OTA "update availability" and give ZHA integration users UI options to apply OTAU updates per Zigbee device on demand? #12912
Unanswered
Hedda
asked this question in
Other feature requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Back-story; This feature request for ZHA's UI is a continuation of the ZHA OTA updates notification idea from related zha-toolkit discussion here -> mdeweerd/zha-toolkit#24 in regards to
ota_notify
in feature zigpy https://github.com/mdeweerd/zha-toolkit#ota_notify (also related to mdeweerd's script https://github.com/mdeweerd/zha-toolkit/blob/7ed030fa51ea18c79e2e592d2252695cc528d42f/examples/fetchOTAfw.sh which download additional Zigbee OTA images from https://github.com/Koenkk/zigbee-OTA).Currently, the ZHA integration applies all Zigbee OTA updates as soon as it finds that OTAU files are available, without any UI options.
Would be possible for ZHA users to instead get notifications about Zigbee OTA updates and have UI options to update per device?
Could ZHA integration and its UI frontend utilize Home Assistant's new
update
entity type to notify about ZHA OTA updates availability?https://www.home-assistant.io/integrations/update
https://www.home-assistant.io/integrations/#updates
What does ZHA component + Home Assistant core and frontend UI developers think?
(I guess that if something like that was implemented then it could be reused for Z-Wave JS as well as possibly Matter/Thread in the future?).
Read news in Home Assistant 2022.4 release that introduced
update
as a brand new entity type which seams made for features like these?https://www.home-assistant.io/blog/2022/04/06/release-20224/#introducing-update-entities
You can now upgrade your devices from inside of Home Assistant just as you would for Home Assistant Releases. You will also notice the number of updates pending in the sidebar by the indicator badge on your configuration cog icon. It's now possible to read the release notes, skip or even install the upgrade to your device in one convenient place.
Introducing update entities
Say “hi!” to a brand new entity type: update.
Update entities can tell you if an update is available for your device and service and, in some cases, allow you to install the update straight from Home Assistant!
And the beautiful thing is: They show up in your configuration Dashboard, just like a Home Assistant, Home Assistant OS, or add-on update. As a matter of fact, those are now update entities too!
Now updates are entities, other integrations can provide them too! For example, a WLED firmware update for your LED strip will show up and installs with a single click.
https://www.home-assistant.io/images/blog/2022-04/update-install.gif
https://building.open-home.io/content/images/2022/04/344c1e8be0c066e49cd4aa8b639d1b50.gif
Screen recording showing a WLED firmware update can be installed with a clickA WLED firmware update can now be installed just like any other update.
These
update
entities can be provided by integrations and provide more information about the update, like: Version information, links to release notes, and the possibility to skip that specific version offered.The blue number indicator on the configuration cog icon in your sidebar tells you how many updates are pending.
The Home Assistant Supervisor (providing Core, OS, and add-on updates), WLED, Pi-hole, and Synology DSM integrations have implemented these brand new update entities in this release.
And because they are all entities, it means you can automate with them. For example, you could send a notification when a new add-on update is available for installation.
Beta Was this translation helpful? Give feedback.
All reactions