developers.home-assistant/blog/2024-10-31-update-entity-ch...

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 a bool indicating if an update is in progress, or None if unknown.
  • A new property and a corresponding state attribute update_percentage has been added which can either return an int or float 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 when update_percentage is a float.

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: