Unfortunately @jackeroo_marc’s custom integration is broken for some time now.
While Marc will surely get to it when spring approaches, here is an alternative for all those who use Node RED in HA. It is purely based on DWD’s REST API.
This flow uses JSONPath to address the region object in the API response.
So before you install it you have to add the contrib node-red-contrib-jsonpath to Node RED:
Open NODE Red –> Hamburger icon menu –> Manage Palette –> Install –> Search for “node-red-contrib-jsonpath”…
[{"id":"f386895a.cb5ad","type":"tab","label":"DWD Pollen","disabled":false,"info":""},{"id":"2711d836.be6dc8","type":"http request","z":"f386895a.cb5ad","name":"Open Data vom DWD abfragen","method":"GET","ret":"obj","paytoqs":"ignore","url":"https://opendata.dwd.de/climate_environment/health/alerts/s31fg.json","tls":"","persist":false,"proxy":"","authType":"basic","x":430,"y":80,"wires":[["803126c5.a88428","884e0659.058ab8"]]},{"id":"cd8de1db.bed78","type":"inject","z":"f386895a.cb5ad","name":"Täglich um 11:23","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"23 11 * * *","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":170,"y":80,"wires":[["2711d836.be6dc8"]]},{"id":"4f7477d5.340cc8","type":"comment","z":"f386895a.cb5ad","name":"DWD Pollenflug-Gefahrenindex ...","info":"https://www.dwd.de/DE/leistungen/gefahrenindizespollen/gefahrenindexpollen.html\nhttps://opendata.dwd.de/climate_environment/health/alerts/Beschreibung_pollen_s31fg.pdf\n \n \n----------\nBelastung\n----------\n\"0\" = \"keine Belastung\"\n\"0-1\" = \"keine bis geringe Belastung\"\n\"1\" = \"geringe Belastung\"\n\"1-2\" = \"geringe bis mittlere Belastung\"\n\"2\" = \"mittlere Belastung\"\n\"2-3\" = \"mittlere bis hohe Belastung\"\n\"3\" = \"hohe Belastung\"\n\n\n----------\nZuordnungen der region_id, bzw. partregion_id\n----------\nHauptgebiete (region_id) werden in Zehnerschritten unterteilt, \nTeilbereiche in Einerschritten.\n----------\n\n10=Schleswig-Holstein und Hamburg\n11=Inseln und Marschen\n12=Geest,Schleswig-Holstein und Hamburg\n\n20=Mecklenburg-Vorpommern\n\n30=Niedersachsen und Bremen\n31=Westl. Niedersachsen/Bremen\n32=Östl. Niedersachsen\n\n40=Nordrhein-Westfalen\n41=Rhein.-Westfäl. Tiefland\n42=Ostwestfalen\n43=Mittelgebirge NRW\n\n50=Brandenburg und Berlin\n\n60=Sachsen-Anhalt\n61=Tiefland Sachsen-Anhalt\n62=Harz\n\n70=Thüringen\n71=Tiefland Thüringen\n72=Mittelgebirge Thüringen\n\n80=Sachsen\n81=Tiefland Sachsen\n82=Mittelgebirge Sachsen\n\n90=Hessen\n91=Nordhessen und hess. Mittelgebirge\n92=Rhein-Main\n\n100=Rheinland-Pfalz und Saarland\n101=Rhein, Pfalz, Nahe und Mosel\n102=Mittelgebirgsbereich Rheinland-Pfalz\n103=Saarland\n110=Baden-Württemberg\n111=Oberrhein und unteres Neckartal\n112=Hohenlohe/mittlerer Neckar/Oberschwaben\n113=Mittelgebirge Baden-Württemberg\n\n120=Bayern\n121=Allgäu/Oberbayern/Bay. Wald\n122=Donauniederungen\n123=Bayern nördl. der Donau, o. Bayr. Wald, o. Mainfranken\n124=Mainfranken\n\n","x":200,"y":40,"wires":[]},{"id":"803126c5.a88428","type":"jsonpath","z":"f386895a.cb5ad","expression":"$..content[?(@.partregion_id==103)]","split":false,"name":"Selektiere Saarland (partregion_id==103)","x":460,"y":140,"wires":[["5a4b1214.49176c","bd3f25f3.2b2b78"]]},{"id":"5a4b1214.49176c","type":"debug","z":"f386895a.cb5ad","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":730,"y":140,"wires":[]},{"id":"fe97990e.baa188","type":"ha-entity","z":"f386895a.cb5ad","name":"dwd_pollen_esche","server":"cb38d2a3.10198","version":1,"debugenabled":false,"outputs":1,"entityType":"sensor","config":[{"property":"name","value":"Pollen Esche"},{"property":"device_class","value":""},{"property":"icon","value":"hass:flower"},{"property":"unit_of_measurement","value":""}],"state":"payload[0].Pollen.Esche.today_num","stateType":"msg","attributes":[{"property":"plain_text","value":"payload[0].Pollen.Esche.today_text","valueType":"msg"},{"property":"publish_date","value":"payload[0].publish_date","valueType":"msg"}],"resend":true,"outputLocation":"","outputLocationType":"none","inputOverride":"allow","x":750,"y":380,"wires":[[]]},{"id":"3ae05cbf.63e3c4","type":"ha-entity","z":"f386895a.cb5ad","name":"dwd_pollen_hasel","server":"cb38d2a3.10198","version":1,"debugenabled":false,"outputs":1,"entityType":"sensor","config":[{"property":"name","value":"Pollen Hasel"},{"property":"device_class","value":""},{"property":"icon","value":"hass:flower"},{"property":"unit_of_measurement","value":""}],"state":"payload[0].Pollen.Hasel.today_num","stateType":"msg","attributes":[{"property":"plain_text","value":"payload[0].Pollen.Hasel.today_text","valueType":"msg"},{"property":"publish_date","value":"payload[0].publish_date","valueType":"msg"}],"resend":true,"outputLocation":"","outputLocationType":"none","inputOverride":"allow","x":750,"y":680,"wires":[[]]},{"id":"50d0ee1f.ce0b","type":"ha-entity","z":"f386895a.cb5ad","name":"dwd_pollen_regionname","server":"cb38d2a3.10198","version":1,"debugenabled":false,"outputs":1,"entityType":"sensor","config":[{"property":"name","value":"Region"},{"property":"device_class","value":""},{"property":"icon","value":"hass:flower"},{"property":"unit_of_measurement","value":""}],"state":"payload[0].partregion_name","stateType":"msg","attributes":[],"resend":true,"outputLocation":"","outputLocationType":"none","inputOverride":"allow","x":770,"y":320,"wires":[[]]},{"id":"bd3f25f3.2b2b78","type":"function","z":"f386895a.cb5ad","name":"Daten erhalten?","func":"if(typeof msg.payload === \"object\" && msg.payload.length>0){\n return msg;\n}\n","outputs":1,"noerr":0,"initialize":"","finalize":"","x":380,"y":200,"wires":[["94ce6d4b.813bb"]]},{"id":"884e0659.058ab8","type":"debug","z":"f386895a.cb5ad","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":730,"y":80,"wires":[]},{"id":"a74c40c7.58118","type":"ha-entity","z":"f386895a.cb5ad","name":"dwd_pollen_erle","server":"cb38d2a3.10198","version":1,"debugenabled":false,"outputs":1,"entityType":"sensor","config":[{"property":"name","value":"Pollen Erle"},{"property":"device_class","value":""},{"property":"icon","value":"hass:flower"},{"property":"unit_of_measurement","value":""}],"state":"payload[0].Pollen.Erle.today_num","stateType":"msg","attributes":[{"property":"plain_text","value":"payload[0].Pollen.Erle.today_text","valueType":"msg"},{"property":"publish_date","value":"payload[0].publish_date","valueType":"msg"}],"resend":true,"outputLocation":"","outputLocationType":"none","inputOverride":"allow","x":740,"y":440,"wires":[[]]},{"id":"6ecd2a38.cb1594","type":"ha-entity","z":"f386895a.cb5ad","name":"dwd_pollen_roggen","server":"cb38d2a3.10198","version":1,"debugenabled":false,"outputs":1,"entityType":"sensor","config":[{"property":"name","value":"Pollen Roggen"},{"property":"device_class","value":""},{"property":"icon","value":"hass:flower"},{"property":"unit_of_measurement","value":""}],"state":"payload[0].Pollen.Roggen.today_num","stateType":"msg","attributes":[{"property":"plain_text","value":"payload[0].Pollen.Roggen.today_text","valueType":"msg"},{"property":"publish_date","value":"payload[0].publish_date","valueType":"msg"}],"resend":true,"outputLocation":"","outputLocationType":"none","inputOverride":"allow","x":750,"y":500,"wires":[[]]},{"id":"453fd9c.a193728","type":"ha-entity","z":"f386895a.cb5ad","name":"dwd_pollen_beifuss","server":"cb38d2a3.10198","version":1,"debugenabled":false,"outputs":1,"entityType":"sensor","config":[{"property":"name","value":"Pollen Beifuß"},{"property":"device_class","value":""},{"property":"icon","value":"hass:flower"},{"property":"unit_of_measurement","value":""}],"state":"payload[0].Pollen.Beifuss.today_num","stateType":"msg","attributes":[{"property":"plain_text","value":"payload[0].Pollen.Beifuss.today_text","valueType":"msg"},{"property":"publish_date","value":"payload[0].publish_date","valueType":"msg"}],"resend":true,"outputLocation":"","outputLocationType":"none","inputOverride":"allow","x":760,"y":560,"wires":[[]]},{"id":"145f24fe.6f2cfb","type":"ha-entity","z":"f386895a.cb5ad","name":"dwd_pollen_birke","server":"cb38d2a3.10198","version":1,"debugenabled":false,"outputs":1,"entityType":"sensor","config":[{"property":"name","value":"Pollen Birke"},{"property":"device_class","value":""},{"property":"icon","value":"hass:flower"},{"property":"unit_of_measurement","value":""}],"state":"payload[0].Pollen.Birke.today_num","stateType":"msg","attributes":[{"property":"plain_text","value":"payload[0].Pollen.Birke.today_text","valueType":"msg"},{"property":"publish_date","value":"payload[0].publish_date","valueType":"msg"}],"resend":true,"outputLocation":"","outputLocationType":"none","inputOverride":"allow","x":750,"y":620,"wires":[[]]},{"id":"914cd902.eec3e8","type":"ha-entity","z":"f386895a.cb5ad","name":"dwd_pollen_ambrosia","server":"cb38d2a3.10198","version":1,"debugenabled":false,"outputs":1,"entityType":"sensor","config":[{"property":"name","value":"Pollen Ambrosia"},{"property":"device_class","value":""},{"property":"icon","value":"hass:flower"},{"property":"unit_of_measurement","value":""}],"state":"payload[0].Pollen.Ambrosia.today_num","stateType":"msg","attributes":[{"property":"plain_text","value":"payload[0].Pollen.Ambrosia.today_text","valueType":"msg"},{"property":"publish_date","value":"payload[0].publish_date","valueType":"msg"}],"resend":true,"outputLocation":"","outputLocationType":"none","inputOverride":"allow","x":760,"y":740,"wires":[[]]},{"id":"d64dfea6.e635e","type":"ha-entity","z":"f386895a.cb5ad","name":"dwd_pollen_graeser","server":"cb38d2a3.10198","version":1,"debugenabled":false,"outputs":1,"entityType":"sensor","config":[{"property":"name","value":"Pollen Gräser"},{"property":"device_class","value":""},{"property":"icon","value":"hass:flower"},{"property":"unit_of_measurement","value":""}],"state":"payload[0].Pollen.Graeser.today_num","stateType":"msg","attributes":[{"property":"plain_text","value":"payload[0].Pollen.Graeser.today_text","valueType":"msg"},{"property":"publish_date","value":"payload[0].publish_date","valueType":"msg"}],"resend":true,"outputLocation":"","outputLocationType":"none","inputOverride":"allow","x":760,"y":800,"wires":[[]]},{"id":"94ce6d4b.813bb","type":"function","z":"f386895a.cb5ad","name":"today-Werte in Num und Text wandeln","func":"var convertValues = {\n \"0\" : [0 , \"keine Belastung\"],\n \"0-1\" : [0.5, \"keine bis geringe Belastung\"],\n \"1\" : [1 , \"geringe Belastung\"],\n \"1-2\" : [1.5, \"geringe bis mittlere Belastung\"],\n \"2\" : [2 , \"mittlere Belastung\"],\n \"2-3\" : [2.5, \"mittlere bis hohe Belastung\"],\n \"3\" : [3 , \"hohe Belastung\"]\n};\n\n// create float values and text representations\nObject.values(msg.payload[0].Pollen).forEach(\n function(msgSubObj){\n msgSubObj.today_num = convertValues[msgSubObj.today][0];\n msgSubObj.today_text = convertValues[msgSubObj.today][1];\n }\n);\n\n// add publish date/time\nmsg.payload[0].publish_date = new Date(msg.headers[\"last-modified\"]);\n\nreturn msg;\n","outputs":1,"noerr":0,"initialize":"","finalize":"","x":450,"y":260,"wires":[["cb8af39.6580b1","50d0ee1f.ce0b","fe97990e.baa188","a74c40c7.58118","6ecd2a38.cb1594","453fd9c.a193728","145f24fe.6f2cfb","3ae05cbf.63e3c4","914cd902.eec3e8","d64dfea6.e635e"]]},{"id":"cb8af39.6580b1","type":"debug","z":"f386895a.cb5ad","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":710,"y":260,"wires":[]},{"id":"cb38d2a3.10198","type":"server","name":"Home Assistant"}]