DWDUnwetter does not clear old Values

I’m using DWDUnwetter binding in OH3, and it seems, the “old” values don’t get purged from the items . I have set the Thing to display 3 warnings. Right now DWD had none for my cell, and I still had the last one (3) as values on my items.

UID: dwdunwetter:dwdwarnings:home
label: DWD Unwetter Home
thingTypeUID: dwdunwetter:dwdwarnings
  cellId: "12345678"
  refresh: 30
  warningCount: 3

It seems, the last one (3) was issued back in 2020-12-19… it could be, that I moved from a milestone to the final version around that time (not sure on the exact date…), so it could be an old fragment, but perhaps there’s a bug in the purging of old items.
Right now just a few seconds ago DWD issued another warning for my cell and the (1) was updated from NULL, but (3) still stands with the old values.

2021-01-05 12:46:49.098 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'DWDUnwetterHome_LastUpdated' changed from 2021-01-05T12:16:48.721219+0100 to 2021-01-05T12:46:49.086443+0100
2021-01-05 12:46:49.118 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'DWDUnwetterHome_Severity1' changed from NULL to Minor
2021-01-05 12:46:49.126 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'DWDUnwetterHome_Description1' changed from NULL to Es tritt leichter Frost zwischen 0 °C und -4 °C auf.
2021-01-05 12:46:49.135 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'DWDUnwetterHome_Issued1' changed from NULL to 2021-01-05T12:32:00.000+0100
2021-01-05 12:46:49.140 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'DWDUnwetterHome_ValidTo1' changed from NULL to 2021-01-06T10:00:00.000+0100
2021-01-05 12:46:49.145 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'DWDUnwetterHome_ValidFrom1' changed from NULL to 2021-01-05T17:00:00.000+0100
2021-01-05 12:46:49.149 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'DWDUnwetterHome_Type1' changed from NULL to FROST
2021-01-05 12:46:49.152 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'DWDUnwetterHome_Headline1' changed from NULL to Amtliche WARNUNG vor FROST
2021-01-05 12:46:49.168 [INFO ] [openhab.event.ChannelTriggeredEvent ] - dwdunwetter:dwdwarnings:Home:updated1 triggered NEW
2021-01-05 12:46:49.175 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'DWDUnwetterHome_Heightfrom1' changed from NULL to 0.0 m
2021-01-05 12:46:49.180 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'DWDUnwetterHome_Heightto1' changed from NULL to 3000.00000456 m
2021-01-05 12:46:49.184 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'DWDUnwetterHome_Instruction1' changed from NULL to 
2021-01-05 12:46:49.188 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'DWDUnwetterHome_Urgency1' changed from NULL to Immediate
2021-01-05 12:46:49.197 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'DWDUnwetterHome_Warning1' changed from OFF to ON

Hi Thomas,

I experience similar issues, I have two warnings set, but I only get the first one. Warning2 has never changed even though warnings should be present…

I have to say that I’m using the text config - have you configured the bridge in the UI?

I completely switched to GUI-configuration with OH3…
And as you say that, I do have (4) channels, though I set warningCount on 3…?

But for now I only got two warnings in parallel (“Glätte” und “Frost”). In December I also got “Nebel”…

I switched to GUI now, the number of warnings matches my settings, I still only get one warning where 2 should be present.
I think it has to do with the different Cell IDs…
DWD displays the warnings on all levels (Kreis, Gemeinde…) but not every CellID gets all the warnings it should…