Way to know if an integration is used in some dashboards?

Hi there,

I see HACS a lot of stuff I have installed, without being sure this is finally used in my dashboards.
(I probably installed som HACS stuff to “test”, then not use it)

Is there a way to know if an integration is really used in sole dashboards or not, so that I can clean and delete them from HACS ?

For example in HAS currently I see this :

Many Thanks !!

I might be wrong, but off the top of my head:

Hit edit on your dashboard.

Click the 3 dots in the top right > raw configuration editor.

Ctrl+F & search for each integration listed. Repeat for each dashboard

Keep a note of the ones showing up in the search results, then disable (don’t uninstall for now) the rest.

Monitor for dashboard stability for a couple of days, then uninstall the disabled ones.

I just copy/paste the repository link somewhere and remove it from HA. If it breaks a dashboard, pretty obvious and then I can add it back easily enough.