It would be useful to have an additional attribute for automations which would contain a timestamp value that is equal to the next time the automation will be triggered.
There is currently an attribute which says when the automation was last triggered. The “next trigger” value would be in the same format.
Open question: If the time is not able to be discerned (many automations are not time-based, but instead triggered on events) what should the value be?
I agree with you, some cannot be discerned. It would be useful to have a way to discern the ones that are knowable, however; other automation software (specifically, Google’s) provides the user a way to know when the next time-specific automation will fire.
I think this would be really useful in the automations dashboard.
Like if you want to know when a timed automation will happen then you go look at the automations page. If you go there and only see “sunset + 20 minutes” then you still have to look up somewhere else when sunset will/did happen.
It was very useful for me for managing a lot of automations that were related to large scale irrigation systems. With different irrigation zones we were triggering by relative events like sunrise, sunrise+1h or 6:00AM plus 2 hours. Having a column that showed the calculated time for those relative events is very useful to see, next to the “last triggered” column. And for automations that were not related to time, the “next trigger” column would either show nothing, a dash or “event” or some other text that kept the screen clean and understandable (like for example "soil humidity=10%).
Using the same timing criteria, you can create a Trigger-based Template Sensor to display the next trigger time. In fact you could probably use it to also trigger the automation (thereby centralizing the time calculations in one place).
Otherwise, waiting for this FR to be implemented may be a very, very long wait (two votes in 2.5 years suggests it has attracted very little interest).