v2.0.4
New Feature: Cloud Coverage Sensor
Adds a cloud coverage sensor ("Oblačnost") and native_cloud_coverage property on the weather entity, returning cloud coverage as a percentage (%).
This feature was present in v1.3.1 and has been reimplemented for v2 with full support for all 8 ARSO-documented cloud levels (per ARSO XML service docs):
| Cloud Text (SI) | Icon | Coverage |
|---|---|---|
| jasno | clear |
0% |
| pretežno jasno | mostClear |
12.5% |
| rahlo oblačno | slightCloudy |
25% |
| delno oblačno | partCloudy |
50% |
| zmerno oblačno | modCloudy |
62.5% |
| pretežno oblačno | prevCloudy |
87.5% |
| oblačno | overcast |
100% |
| megla | FG |
100% |
The official API returns 4 levels; the observationAms endpoint (primary stations) returns up to 7 levels for finer granularity.
Also fixed
- Added missing
mostClear,slightCloudy,modCloudyicon mappings toCLOUD_CONDITION_MAP— previously these observationAms-only icons resolved to"unknown"condition - Added missing cloud text values (
pretežno jasno,rahlo oblačno,zmerno oblačno) to condition mapping
Changes
models.py: Newcloud_coveragecomputed field onBaseTimelineEntryweather.py: Newnative_cloud_coverageproperty on weather entitysensor.py: New "Oblačnost" sensor (key:cloud_coverage, unit: %)weather_map.py: Added 3 text + 6 icon condition mappings- Bump version to 2.0.4