Dominevo
ReferenceDevice capabilities

water-heater

Water heater / boiler cap.

Water heater / boiler cap. Models HA water_heater.* entities — a climate-family actuator with a target temperature, an operation-mode selector (eco / electric / gas / heat_pump / high_demand / performance / off), and an optional away-mode toggle.

The slice carries the current + target temperature, the active operation mode (HA's state) and its available set (HA's operation_list), the away flag (HA away_mode 'on'/'off' → bool, null when unsupported), plus the min_temp / max_temp bounds.

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

At a glance

Capabilitywater-heater
Provided byThe device's own driver provides it: each device registers its own provider.
Active providers per deviceone
Device typeswater-heater
Sourcepackages/types/src/capabilities/water-heater.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
setOperationModemutationyesprotected
setAwaymutationyesprotected
setTargetTempmutationyesprotected

setOperationMode

mutation

Input

FieldTypeRequiredDescription
modestringyes

Output

Nothing.

Actions (offered in automations and on device cards)

ActionLabelSets
waterHeater.offWater heater offoperationMode = "off"
waterHeater.modeSet modeoperationMode = undefined

setAway

mutation

Input

FieldTypeRequiredDescription
onbooleanyes

Output

Nothing.

Actions (offered in automations and on device cards)

ActionLabelSets
waterHeater.awayOnWater heater away onaway = true
waterHeater.awayOffWater heater away offaway = false

setTargetTemp

mutation

Input

FieldTypeRequiredDescription
tempnumberyes

Output

Nothing.

Actions (offered in automations and on device cards)

ActionLabelSets
waterHeater.targetSet temperaturetargetTemp = 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 temperature / mode / away changes.

FieldTypeRequiredDescription
currentTempnumber | nullyesCurrent measured temperature. Null when not reported.
targetTempnumber | nullyesTarget temperature setpoint. Null when no setpoint surface.
operationModestring | nullyesActive operation mode = HA state (eco / electric / gas / heat_pump / high_demand / performance / off). Null when the device reports an unknown state.
availableModesstring[]yesAvailable operation modes = HA operation_list.
awayboolean | nullyesAway mode (HA away_mode 'on'/'off' → bool). Null when the device has no away surface.
minTempnumber | nullyesHA min_temp attribute. Null when not reported.
maxTempnumber | nullyesHA max_temp attribute. Null when not reported.
lastActiveModestringnoThe last operation mode other than off the device reported. Kept by the device-state mirror on every write (providers never set it), so "turn on" can return to it.
lastChangedAtnumberyesMs epoch when the slice was last updated.