When creating a badge with an entity-attribute called "name" it will show the name of the badge instead of the attribute state.
show_name: true
show_state: true
show_icon: true
entity: sensor.pixel_8a_geocoded_location
name: Myriam
state_content:
- locality
- thoroughfare
- name```
Image1: In visual editor "Name" is listed twice. Once for the badge name and another for the attribute of the entity.
Image2: Badge showing the Badge-Name instead of the "name"-attribute-state