I’m trying to clean up my Home Assistant setup and remove scripts I’m not using and consolidate duplicate/redundant scripts. Is there a way to see what automations are calling a script, I don’t want to delete a script and break any automations.
It’s one of the most used utilities on Linux (at least for me). Learning it will be well worth your time! You can do similar things with some editors though, if you prefer.
For now, start with this, in you config directory:
grep -ir "script.your_script"
Replace your_script as desired with the correct name.