Dominevo
ReferenceDevice capabilities

humidifier

Humidifier / dehumidifier cap.

Humidifier / dehumidifier cap. Models HA humidifier.* entities — an on/off actuator with an optional target-humidity setpoint and an optional vendor mode (auto / normal / baby / …).

A climate-family sibling: the slice carries the on/off state, the current + target relative humidity (0..100), the active mode and its available set, plus HA's free-form action readout (humidifying / drying / idle / off). minHumidity / maxHumidity mirror HA's min_humidity / max_humidity attributes (null → the UI falls back to a 0..100 range).

Providers populate only what the hardware reports — mode and the humidity fields stay null when the device has no such surface.

At a glance

Capabilityhumidifier
Provided byThe device's own driver provides it: each device registers its own provider.
Active providers per deviceone
Device typeshumidifier
Sourcepackages/types/src/capabilities/humidifier.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
setOnmutationyesprotected
setTargetHumiditymutationyesprotected
setModemutationyesprotected

setOn

mutation

Input

FieldTypeRequiredDescription
onbooleanyes

Output

Nothing.

Actions (offered in automations and on device cards)

ActionLabelSets
humidifier.onHumidifier onon = true
humidifier.offHumidifier offon = false

setTargetHumidity

mutation

Input

FieldTypeRequiredDescription
humiditynumberyes

Output

Nothing.

Actions (offered in automations and on device cards)

ActionLabelSets
humidifier.targetSet humiditytargetHumidity = undefined

setMode

mutation

Input

FieldTypeRequiredDescription
modestringyes

Output

Nothing.

Actions (offered in automations and on device cards)

ActionLabelSets
humidifier.modeSet modemode = 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 humidity / mode changes.

FieldTypeRequiredDescription
onbooleanyesWhether the humidifier is currently on.
currentHumiditynumber | nullyesCurrent measured relative humidity (0..100). Null when not reported.
targetHumiditynumber | nullyesTarget relative humidity (0..100). Null when no setpoint surface.
modestring | nullyesActive mode (auto / normal / baby / vendor). Null when the device has no mode surface.
availableModesstring[]yesAvailable modes the device accepts.
actionstring | nullyesHA action attribute, verbatim (humidifying / drying / idle / off). Null when the device doesn't report it.
minHumiditynumber | nullyesHA min_humidity attribute. Null → UI uses 0.
maxHumiditynumber | nullyesHA max_humidity attribute. Null → UI uses 100.
lastChangedAtnumberyesMs epoch when the slice was last updated.