Improved traces + related automations

To help people with seeing what happened and why, please consider to add:

  1. Configurable amount on traces per automation.
    Currently, you have 5 traces stored. It would be great if for one specific automation that causes troubles, I can set it to store 20 traces, so I can finally figure out what’s wrong there.

  2. In traces, when there is a call to another automation/script, it would be great to have a link to that corresponding trace.

  3. Show “callers” in Related tab in automation/script settings.
    Currently, when you open script, go to 3 dots, More info, 3 dots again, Related, it shows info that s not that much useful, as all that stuff can be see directly in the script. However, what is hard to find is where this script/automation is called from (list of automations/scripts calling this one). That should be shown on top of the Related tab. Similar thing is already being shown on Device page, but here it is really missing.

Automations - Number of debug traces stored