Dominevo
ReferenceDevice capabilities

lawn-mower-control

Robotic lawn-mower cap.

Robotic lawn-mower cap. Models HA lawn_mower.* entities — anything with a mowing lifecycle plus a dock action.

Activity follows HA's canonical lawn-mower lifecycle: idle / mowing / paused / docked / error. batteryLevel (0..100) is nullable — some mowers don't report a battery percentage.

startMowing begins a mowing run, pause halts it in place, and dock sends the mower back to its charging station.

At a glance

Capabilitylawn-mower-control
Provided byThe device's own driver provides it: each device registers its own provider.
Active providers per deviceone
Device typeslawn-mower
Sourcepackages/types/src/capabilities/lawn-mower-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
startMowingmutationyesprotected
pausemutationyesprotected
dockmutationyesprotected

startMowing

mutation

Input

No fields besides deviceId.

Output

Nothing.

Actions (offered in automations and on device cards)

ActionLabelSets
lawnMower.startStart mowing

pause

mutation

Input

No fields besides deviceId.

Output

Nothing.

Actions (offered in automations and on device cards)

ActionLabelSets
lawnMower.pausePause mower

dock

mutation

Input

No fields besides deviceId.

Output

Nothing.

Actions (offered in automations and on device cards)

ActionLabelSets
lawnMower.dockDock mower

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 activity + battery changes.

FieldTypeRequiredDescription
activity"idle" | "mowing" | "paused" | "docked" | "error"yesLifecycle activity of the mower.
batteryLevelnumber | nullyes0..100 battery percentage. Null when the device has no battery reading.
progressnumber | nullyes0..100 mowing-completion percentage of the current task, or null when no task is active / progress is unavailable.
currentCodenumber | nullyesCurrent device/event code (dynamic — mostly status, sometimes an error), or null when unknown.
currentCodeLabelstring | nullyesHuman label for {
severity"info" | "warning" | "error"yesSeverity of { attention; info is normal status.
lastChangedAtnumberyesMs epoch when the slice was last updated.