Dominevo
ReferenceDevice capabilities

vacuum-control

Robot-vacuum cap.

Robot-vacuum cap. Models HA vacuum.* entities — anything with a cleaning lifecycle plus a return-to-base / locate surface and an optional fan-speed selector.

State follows HA's canonical vacuum lifecycle: idle / cleaning / paused / returning / docked / error. batteryLevel (0..100) is nullable — some vacuums don't report a battery percentage. fanSpeed is the current speed token (provider-verbatim, e.g. 'standard' / 'turbo') and availableFanSpeeds lists the tokens the hardware accepts so the UI renders only supported choices.

The setFanSpeed method takes the bare speed token — the provider validates it against the vacuum's own list. locate triggers the find-me chirp; returnToBase sends it home.

Tanks (clean water, dirty water, detergent, dust bin) are NOT here: they are supply / waste items of the device's consumables cap, like every other device's consumables.

At a glance

Capabilityvacuum-control
Provided byThe device's own driver provides it: each device registers its own provider.
Active providers per deviceone
Device typesvacuum
Sourcepackages/types/src/capabilities/vacuum-control.cap.ts

Methods

Every method takes the device id (deviceId) to address the device; the input tables below list the other fields.

MethodKindRequired of a providerAccess
startmutationyesprotected
pausemutationyesprotected
stopmutationyesprotected
returnToBasemutationyesprotected
locatemutationyesprotected
setFanSpeedmutationyesprotected

start

mutation

Input

No fields besides deviceId.

Output

Nothing.

Actions (offered in automations and on device cards)

ActionLabelSets
vacuum.startStart cleaning

pause

mutation

Input

No fields besides deviceId.

Output

Nothing.

Actions (offered in automations and on device cards)

ActionLabelSets
vacuum.pausePause

stop

mutation

Input

No fields besides deviceId.

Output

Nothing.

Actions (offered in automations and on device cards)

ActionLabelSets
vacuum.stopStop

returnToBase

mutation

Input

No fields besides deviceId.

Output

Nothing.

Actions (offered in automations and on device cards)

ActionLabelSets
vacuum.dockReturn to base

locate

mutation

Input

No fields besides deviceId.

Output

Nothing.

Actions (offered in automations and on device cards)

ActionLabelSets
vacuum.locateLocate

setFanSpeed

mutation

Input

FieldTypeRequiredDescription
speedstringyes

Output

Nothing.

Actions (offered in automations and on device cards)

ActionLabelSets
vacuum.fanSpeedSet suction

Runtime state

The state Dominevo keeps for each device with this capability, readable without calling the provider.

Runtime-state slice — mirrored by the kernel. UI controls watch the slice for live state + battery + fan-speed changes.

FieldTypeRequiredDescription
state"idle" | "cleaning" | "paused" | "returning" | "docked" | "drying" | "error"yesLifecycle state of the vacuum.
batteryLevelnumber | nullyes0..100 battery percentage. Null when the device has no battery reading.
fanSpeedstring | nullyesCurrent fan-speed token (provider-verbatim). Null when unknown or the vacuum has no speed control.
availableFanSpeedsstring[]yesSpeed tokens the hardware accepts — drives the UI selector.
progressnumber | nullyes0..100 cleaning-completion percentage of the current task, or null.
errorCodenumber | nullyesCurrent error code (0 / null = no error).
errorLabelstring | nullyesHuman label for {
lastChangedAtnumberyesMs epoch when the slice was last updated.