I’m struggling with the following: I’ve set up a dashboard from where I can run various scripts, and it’d be nice to have the possibility to display the previous execution date of each script.
I’ve tried experimenting with the secondary_info parameter, but no luck so far. Note that I like the way it looks using last-updated, and I’d rather not create new sensors to display the attribute in a new line on the card.
To be clear: secondary_info is indeed working, but last-changed does not return the last time the script was run. For now, it’s only displaying the time since the last restart of HA (when the script entity was initialize I think).
Scripts have a last_triggered attribute, this is what I want to display here.