Glad I came and checked this thread before I started working on a Python script!
@Mariusthvdb does this satisfy what you’re looking for? If you want to display it as a sorted, formatted list in Lovelace, you can use the new card-templater card and apply it to a Markdown card with the following template:
{% for component in states.sensor.my_config.attributes.components|sort -%}
{{ component + "\n"}}
{%- endfor %}