Just change the name for each one.
covid_19_sverige_regionstockholm:
value_template: >
{% set name = 'Stockholm' %}
{% set value = state_attr('sensor.covid_19_svt', 'data') | selectattr('namn','eq',name) | list | first %}
{{ value.kod }}
If you want other data, just change value.kod
to whatever attribute you want… value.antal
, value.dead
…