1.5 KiB
1.5 KiB
author | authorURL | title |
---|---|---|
Erik Montnemery | https://github.com/emontnemery | Changes to the update entity |
Summary of changes
The update
entity has been adjusted:
- The
in_progress
property and the corresponding state attribute should now only be abool
indicating if an update is in progress, orNone
if unknown. - A new property and a corresponding state attribute
update_percentage
has been added which can either return anint
orfloat
indicating the progress from 0 to 100% or None. - A new property and a corresponding state attribute
display_precision
has been added to control the number of decimals to display in the frontend whenupdate_percentage
is 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_percentage
state attribute - PR adding the
update_percentage
property - PR adding the
display_precision
state attribute and property - An example of updating an integration's update entity