When calling scripts though the automation front end editor the alias be added as a comment in the automations.yaml file. This would make it easier to debug and understand what the scripts are doing.
Same would apply to scripts being called within other scripts.
So this entry in automations.yaml …
- data:
entity_id: script.1558590137782
service: script.turn_off
Would become
- data:
entity_id: script.1558590137782 #<script alias here>
service: script.turn_off
It would be handy if those comments appeared in the service data of the call service entry in the front end as well.
I think this would make automations easier to read and understand. What do you think?