Automation Last Triggered - Never

I created a simple automation to lock (Shlage encode) my garage door at 11:30pm if it is unlocked. I went to look at the automations the next morning, and the last triggered date was Never. I thought this was odd, so I looked at the traces, and indeed it did trigger the previous night at 11:30pm, but the door was locked (condition is it must be unlocked) so the action didn’t run (which makes sense). So I’m confused why it says last triggered is Never because it clearly triggered, but just didn’t execute any actions because conditions weren’t met. Should I put in a bug report or is this operating as intended?

  • Core: 2024.10.3
  • Supervisor: 2024.10.3
  • Operating System: 13.2
  • Frontend: 20241002.3

I’m pretty sure that is the expected behavior.

It used to behave the way you thought it should but it was changed a couple of years ago to the way it is now showing the last triggered based on whether the actions ran or not.

Yes finity is correct. A trace is generated if any trigger fires. The last_triggered attribute is updated when any trigger fires and all the conditions in the condition section are met.