Dominevo
ReferenceDevice capabilities

weather

Weather provider cap.

Weather provider cap. Models HA weather.* entities — a read-only snapshot of the CURRENT conditions a weather integration reports.

Read-only: there are no setters. The slice is populated from upstream pushes (the HA weather entity's state + attributes) and rendered by the UI as a sky scene + readouts.

condition is the verbatim HA state string (sunny / cloudy / rainy / snowy / partlycloudy / pouring / lightning / lightning-rainy / fog / windy / windy-variant / hail / clear-night / exceptional / …). The UI maps it to a glyph + tint; unknown strings fall back to a neutral cloud.

Every numeric reading is nullable — a given weather integration only populates the metrics it actually provides.

Forecast deferred — current conditions only for v1.

At a glance

Capabilityweather
Provided byThe device's own driver provides it: each device registers its own provider.
Active providers per deviceone
Device typesweather
Sourcepackages/types/src/capabilities/weather.cap.ts

Methods

This capability declares no methods.

Runtime state

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

Runtime-state slice — mirrored by the kernel. The UI reads the current conditions directly from the slice on each weather push.

FieldTypeRequiredDescription
conditionstring | nullyesVerbatim condition state (sunny, cloudy, rainy, …). Null when none yet.
temperaturenumber | nullyesCurrent temperature in Celsius. Null when not provided or refused.
humiditynumber | nullyesRelative humidity (0..100). Null when not provided.
pressurenumber | nullyesBarometric pressure in hPa. Null when not provided or refused.
windSpeednumber | nullyesWind speed in metres per second. Null when not provided or refused.
windBearingnumber | nullyesWind bearing in degrees (0..360, meteorological). Null when not provided.
lastFetchedAtnumberyesMs epoch when the slice was last updated.