From f70eec35cc1479c57a1872a8b899c3276225aaad Mon Sep 17 00:00:00 2001 From: marecabo <23156476+marecabo@users.noreply.github.com> Date: Sun, 24 Nov 2019 00:15:28 +0100 Subject: [PATCH] add attribute for storing one weather warning as a whole --- 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 4622f4b2e7c5..de765b552be1 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. |