ReferenceDevice capabilities
update
Firmware/software update entity.
Firmware/software update entity. Installed on a DeviceType.Update device. Surfaces current vs available version, whether an update is available, the update state, and an install action. Read-mostly and POLL-driven: backends such as the Homematic CCU do not broadcast firmware-descriptor changes, so the client re-queries getStatus (which reads the live descriptor) rather than relying on push delivery. installUpdate triggers the install (best-effort — providers throw if the backend rejects it).
At a glance
| Capability | update |
| Provided by | The device's own driver provides it: each device registers its own provider. |
| Active providers per device | one |
| Device types | update |
| Source | packages/types/src/capabilities/update.cap.ts |
Methods
| Method | Kind | Required of a provider | Access |
|---|---|---|---|
installUpdate | mutation | yes | admin |
installUpdate
mutation
Input
void
Output
Nothing.
Actions (offered in automations and on device cards)
| Action | Label | Sets |
|---|---|---|
update.install | Install update |
Runtime state
The state Dominevo keeps for each device with this capability, readable without calling the provider.
| Field | Type | Required | Description |
|---|---|---|---|
currentVersion | string | null | yes | |
availableVersion | string | null | yes | |
updatable | boolean | yes | DEVICE-CAPABILITY flag: the entity supports firmware updates at all — NOT a per-state "an update is available right now" flag. The canonical "update available" signal is availableVersion !== currentVersion (which is what the UI uses); HA's state === 'on' mirrors that same condition. |
state | string | null | yes | |
inProgress | boolean | yes |