Align documented image attributes with implementation (#1922)

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
Erik Montnemery 2023-09-19 18:20:51 +02:00 committed by GitHub
parent 1958a68c21
commit 6dc1130eb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,10 +16,10 @@ Properties should always only return information from memory and not do I/O (lik
:::
| Name | Type | Default | Description |
| ------------------------ | --------- | ------------ | ---------------------------------------------------------------------------------------------------------------------------------- |
| -------------------| --------------------------------- | ------------ | -------------------------------------------------------------------------------------------------------- |
| content_type | str | `image/jpeg` | The content-type of the image, set automatically if the image entity provides a URL. |
| image_last_updated | datetime | `None` | Timestamp of when the image was last updated. Used to determine `state`. Frontend will refetch the image when this changes. |
| image_url | str or None | `UNDEFINED` | Optional URL from where the image should be fetched. |
| image_last_updated | <code>datetime.datetime &#124; None</code> | `None` | Timestamp of when the image was last updated. Used to determine `state`. Frontend will refetch the image when this changes. |
| image_url | <code>str &#124; None</code> | `UNDEFINED` | Optional URL from where the image should be fetched. |
## Methods