The integration Coronavirus delivers data for a whole country. A solution for a German state is provided here. Here is a sensor for incidence (Inzidenz) for a specific county in Germany:
- platform: rest
name: rki_412_incidence
resource: "https://services7.arcgis.com/mOBPykOjAyBO2ZKk/arcgis/rest/services/RKI_Landkreisdaten/FeatureServer/0/query?where=OBJECTID=412&outFields=*&outSR=4326&f=json"
value_template: "{{ value_json.features[0].attributes.cases7_per_100k}}"
This sensor is tailored for „Steglitz/Zehlendorf“ in Berlin. In order to choose another county, just replace the OBJECTID 412 above with your findings from here.
This solution is based on the article „Corona-Ampel“ in ct 9/21 p. 160-162