Skip to content

v1.6.26

Choose a tag to compare

@yashijoe yashijoe released this 17 Jun 13:30

What's Changed

feat: hail probability attribute on forecast condition sensors

Added hail_probability and hail_probability_unit to the extra state attributes of sensor.rainmachine_forecast_condition_0 through _6.

The value is read from the skyCover field already returned by /api/4/mixer — no additional API call. The ilmeteo parser on the device stores hail probability (0.0–1.0) in this field; the attribute exposes it as a rounded integer percentage (e.g. 0.66 → 66).

With other parsers that do not populate skyCover, the attribute is always 0.

Note: the value is the 24-hour daily average from the mixer. If hail is forecast for 2 hours at 66%, the daily figure will be ~5%.