Dominevo
ReferenceDevice capabilities

cover

Window covering / blinds / garage door / valve cap.

Window covering / blinds / garage door / valve cap. Models HA cover.* entities — anything that moves between an open and a closed state with optional intermediate positioning and tilt.

State follows HA's canonical lifecycle: open / opening / closing / closed / stopped. position (0 closed, 100 open) and tiltPosition are nullable — some shutters only support full open/close, some Venetian blinds add tilt but no slat positioning, garage doors are usually positionless. Providers populate only what the hardware reports.

The cap intentionally does NOT split tilt into a sibling cap: physical hardware that has tilt always has the main position surface too, so the coupling stays inside one slice + one method group rather than spreading across two registrations.

Sub-surface gating paired with DeviceFeature flags:

  • CoverPositionable — intermediate position slider
  • CoverTilt — slat-tilt slider
  • CoverStoppable — the stop control (a no-op stop never declares it)

At a glance

Capabilitycover
Provided byThe device's own driver provides it: each device registers its own provider.
Active providers per deviceone
Device typescover
Sourcepackages/types/src/capabilities/cover.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
openmutationyesprotected
closemutationyesprotected
stopmutationnoprotected
setPositionmutationnoprotected
setTiltPositionmutationnoprotected

open

mutation

Input

No fields besides deviceId.

Output

Nothing.

Actions (offered in automations and on device cards)

ActionLabelSets
cover.openOpenstate = "open"

close

mutation

Input

No fields besides deviceId.

Output

Nothing.

Actions (offered in automations and on device cards)

ActionLabelSets
cover.closeClosestate = "closed"

stop

mutation · optional for a provider

Input

No fields besides deviceId.

Output

Nothing.

Actions (offered in automations and on device cards)

ActionLabelSets
cover.stopStop

setPosition

mutation · optional for a provider

Input

FieldTypeRequiredDescription
positionnumberyes

Output

Nothing.

Actions (offered in automations and on device cards)

ActionLabelSets
cover.positionSet positionposition = undefined

setTiltPosition

mutation · optional for a provider

Input

FieldTypeRequiredDescription
tiltPositionnumberyes

Output

Nothing.

Actions (offered in automations and on device cards)

ActionLabelSets
cover.tiltSet tilttiltPosition = undefined

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 position changes during a move.

FieldTypeRequiredDescription
state"open" | "opening" | "closing" | "closed" | "stopped"yesLifecycle state of the cover.
positionnumber | nullyes0 = fully closed, 100 = fully open. Null when the device has no intermediate position surface.
tiltPositionnumber | nullyes0 = closed slats, 100 = open slats. Null when no tilt support.
lastChangedAtnumberyesMs epoch when the slice was last updated.