This may be related to this issue, but the solution posted there didn’t work for me and it’s almost two years old.
I just woke up on New Years Day, hoping to get started debugging some automations that haven’t worked quite right for a while, only to find that the traces for all of my automations are all gone (click any automation, click “trace”, and it just shows “no traces found”, despite the automation definitely running (I can see my lights turning on/off, for example), and the “last triggered” column in the automations list is populated and shows them running recently).
I checked my automation IDs (in automations.yaml); the IDs for all my automations are a bunch of numbers - no special characters or spaces (or even letters). For instance, “1723325825277”. So that’s not the solution.
I tried restarting Home Assistant and also rebooted entirely, but neither option helped.
I’m running Home Assistant v2023.12.4 on a Home Assistant Yellow (HAOS).
I took a full backup today and then I tried reverting to a backup from a week ago. Back then, the traces were all present, so it is something that has happened in the last week. I would run from the backup a week ago, but a) I have developed a lot of automations since then and it would be a pain to redo them, and b) I’m not sure if I won’t just come up against the same problem in the future. (I have since reverted to the full backup I took today). The main difference I noted between the two backups (other than all my automations) was the upgrade to HA v2023.12.4 from v2023.12.3. I don’t know if that’s relevant or not.
Does anyone know what I could try to troubleshoot this issue please?
Thank you.
P.S.: I’m fairly new (four months) and don’t really know what I’m doing with the logs. I went to Settings > System > Logs and clicked “Download full logs”, but the resulting file only seems to show errors from the last hour.
P.S. #2:
Related posts:
- this one. He didn’t have any IDs so that’s not relevant to my situation.
- this closed GitHub issue from March 2022 (later solved by this pull request) - spaces in automation IDs. Also not relevant here as I only have numbers in my IDs.
P.S. #3: my automations.yaml is available here.