ReferenceDevice capabilities
image
Image display cap.
Image display cap. Models a single still image exposed by an integration — a snapshot, a chart, a generated picture, or a robot's cleaning-map render.
Read-only: there are no setters. The provider resolves whatever upstream source it has into an ABSOLUTE URL the browser loads directly:
- HA
image.*entities → theentity_picturesigned-token path (token stays in the query string, so no auth header is needed); - a Dreame/robot map → the cloud/OSS map-image URL (or an addon data-plane URL serving the rendered map bytes), exposed as its own Image child device grouped under the robot's container. The slice carries that URL plus the upstream last-updated timestamp; the image changes when the source's last-updated marker changes.
At a glance
| Capability | image |
| Provided by | The device's own driver provides it: each device registers its own provider. |
| Active providers per device | one |
| Device types | image |
| Source | packages/types/src/capabilities/image.cap.ts |
Methods
This capability declares no methods.
Runtime state
The state Dominevo keeps for each device with this capability, readable without calling the provider.
Runtime-state slice — mirrored by the kernel. The UI reads url directly and renders the still image.
| Field | Type | Required | Description |
|---|---|---|---|
url | string | null | yes | Absolute signed URL the browser loads directly. Null when the entity exposes no entity_picture (yet). |
lastUpdated | number | null | yes | Ms epoch of the upstream last-updated timestamp. Null at cold-start. |