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
configuration:
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.
logs
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