List automation/script traces
ha_list_tracesList recent automation or script runs: when they ran, if they finished, and how they stopped. Omit the item to see runs across the entire domain. A 'failed_condition' means a condition blocked it.
Instructions
List recent runs of an automation or script: when it ran, whether it finished, and how it stopped ('failed_condition' means a condition blocked it). Omit 'item' to list runs across everything in the domain. Home Assistant keeps a limited number of traces per item (5 by default), and none from before the last restart.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | No | entity_id or unique id (automation.x / the unique id; script.y / y). Omit for all. | |
| limit | No | Maximum runs to return, newest first (default 20). | |
| domain | No | Which kind of item to list traces for (default 'automation'). | |
| instance_id | No | Optional: the instance you mean (as listed by vomehome_list_instances). When given, the call is refused if this session is targeting a different home, instead of answering from it. |