From 0aa185dd6db5a52a4dd8ba2fa125dabc76ef56f9 Mon Sep 17 00:00:00 2001 From: marecabo <23156476+marecabo@users.noreply.github.com> Date: Wed, 15 Apr 2020 14:41:30 +0200 Subject: [PATCH] add attribute for storing one weather warning as a whole (#11271) --- source/_integrations/dwd_weather_warnings.markdown | 1 + 1 file changed, 1 insertion(+) diff --git a/source/_integrations/dwd_weather_warnings.markdown b/source/_integrations/dwd_weather_warnings.markdown index 69d291cf706..d3d001ac776 100644 --- a/source/_integrations/dwd_weather_warnings.markdown +++ b/source/_integrations/dwd_weather_warnings.markdown @@ -57,6 +57,7 @@ name: | `region_state` | State (Bundesland) in abriviated form the requested region is located, e.g., "HE" for "Hessen". | | `region_id` | Region ID assigned by DWD. | | `warning_count` | *(int)* Number of issued warnings. There can be more than one warning issued at once. | +| `warning_` | The warning as a whole JSON object containing the following attributes as nested attributes. | | `warning__level` | *(int)* Issued warning level between 0 and 4.
0: Keine Warnungen
1: Wetterwarnungen
2: Warnungen vor markantem Wetter
3: Unwetterwarnungen
4: Warnungen vor extremem Unwetter | | `warning__type` | *(int)* Issued warning type.
0: Gewitter, Starkes Gewitter
1: Windböen, Sturmböen
2: ?
3: Schneefall
4: Nebel
5: Frost
6: Glätte, Glatteis
8: Hitze (always level 10)
9: UV-Index (always level 20)
Please be aware that the type numbers represent more like a category than an exact number-to-string match. For example Type `6` can mean `GLÄTTE` or `GLATTEIS` or similar. | | `warning__name` | This name correlates with the warning type and indicates it in short as a string. |