Changes to the update entity
· One min read
Summary of changes
The update entity has been adjusted:
- The
in_progressproperty and the corresponding state attribute should now only be aboolindicating if an update is in progress, orNoneif unknown. - A new property and a corresponding state attribute
update_percentagehas been added which can either return anintorfloatindicating the progress from 0 to 100% or None. - A new property and a corresponding state attribute
display_precisionhas been added to control the number of decimals to display in the frontend whenupdate_percentageis afloat.
Backwards compatibility
Until Home Assistant Core 2025.12, a numerical value in the in_progress property will be automatically copied to the update_percentage state attribute.
Documentation and core implementation
See the update entity developer documentation for details.
PRs:
- PR adding the
update_percentagestate attribute - PR adding the
update_percentageproperty - PR adding the
display_precisionstate attribute and property - An example of updating an integration's update entity