mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-16 05:46:30 +00:00
Document update entity's display_precision property (#2414)
* Document display_precision property * Update update.md
This commit is contained in:
parent
5c04d2085a
commit
529d1bc456
@ -24,13 +24,14 @@ Properties should always only return information from memory and not do I/O (lik
|
|||||||
| Name | Type | Default | Description
|
| Name | Type | Default | Description
|
||||||
| ---- | ---- | ------- | -----------
|
| ---- | ---- | ------- | -----------
|
||||||
| auto_update | bool | `False` | The device or service that the entity represents has auto update logic. When this is set to `True` you can not skip updates.
|
| auto_update | bool | `False` | The device or service that the entity represents has auto update logic. When this is set to `True` you can not skip updates.
|
||||||
|
| display_precision | int | `0` | Number of decimal digits for display of update progress.
|
||||||
| in_progress | bool | `None` | Update installation progress. Should return a boolean (True if in progress, False if not).
|
| in_progress | bool | `None` | Update installation progress. Should return a boolean (True if in progress, False if not).
|
||||||
| installed_version | str | `None` | The currently installed and used version of the software.
|
| installed_version | str | `None` | The currently installed and used version of the software.
|
||||||
| latest_version | str | `None` | The latest version of the software available.
|
| latest_version | str | `None` | The latest version of the software available.
|
||||||
| release_summary | str | `None` | Summary of the release notes or changelog. This is not suitable for long changelogs but merely suitable for a short excerpt update description of max 255 characters.
|
| release_summary | str | `None` | Summary of the release notes or changelog. This is not suitable for long changelogs but merely suitable for a short excerpt update description of max 255 characters.
|
||||||
| release_url | str | `None` | URL to the full release notes of the latest version available.
|
| release_url | str | `None` | URL to the full release notes of the latest version available.
|
||||||
| title | str | `None` | Title of the software. This helps to differentiate between the device or entity name versus the title of the software installed.
|
| title | str | `None` | Title of the software. This helps to differentiate between the device or entity name versus the title of the software installed.
|
||||||
| update_percentage | int | `None` | Update installation progress. Can either return a number to indicate the progress from 0 to 100% or None.
|
| update_percentage | int, float | `None` | Update installation progress. Can either return a number to indicate the progress from 0 to 100% or None.
|
||||||
|
|
||||||
Other properties that are common to all entities such as `device_class`, `entity_category`, `icon`, `name` etc are still applicable.
|
Other properties that are common to all entities such as `device_class`, `entity_category`, `icon`, `name` etc are still applicable.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user