Card for next automations

Hi everyone,
I would like to create a card that shows me the next upcoming automations in filtered form.
I already have a card that shows the most recently executed automations, but I want it to be the other way around and I want to select which ones it should be.
Does anyone have an idea how I can do this?

Buy a crystal ball? But seriously, automations should be triggered by things happening, how would you expect to determine what events will happen in the future? This would only be possible on events on a specific time. Out of 341 automations I currently have, for me those are can be counted on one hand (ok, maybe two - too hard to actually check). So what would be the use case, besides curiosity?

To do that you’d have to predict the trigger… If it were possible it would only work for a few automations triggered by time.

I agree with you. But I almost exclusively have automations that are time or sun-based. That’s why I want to filter it :wink:

You might be able to check your history to see what automations fired yesterday. You’d have to apply some sort of offset for the sun-based ones. Not going to happen with the logbook card, though.

1 Like

If I can make a suggestion: the sun based triggers most likely are because you expect light levels outside to be a certain way around sunset and sunrise.

I bought some licht sensors (inside and outside) to measure what actually happens and let automations react on that. That works a lot better in my opinion because it takes into account clouds and other circumstances. It measures what I actually care about (how light/dark it is), rather than try to predict it based on the position of the sun.

Time wise it does make it hard to predict what automations run when. If differs per day. But light wise it is in fact way more predictable. The fact that the actual time varies is proof that the light sensor works better if you ask me.

There’s a HACS integration which does this in order to make the house look occupied:

I have also thought about light sensors.

However, it’s actually enough for me to simply raise the shutters x minutes after sunrise and lower them x minutes after sunset.

I switch the light on and off in the morning and in the evening in the same way.

Now that I think about it, it’s really difficult to predict the execution times. But there are sensors for sunrise and sunset.

Putting those on your dashboard is most certainly not a bad idea, even if you decide to use light sensors. It may also depend on where you live, but in the Netherlands where I live, the weather does affect light levels a lot. My garden lights, curtains etc. listen to both light levels and a home state: Home, Sleep, Away, Vacation. And during vacation, the light level variations make for a nice randomness in faking presence behaviour.

1 Like

Sounds very well thought out and logical. As I work from home most of the time, the times in relation to the sun are generally sufficient for me. The weather here in Germany is similar to that in the Netherlands.
A simple card that says “Shutters go up at x o’clock” and “Cats are fed at x o’clock” would be enough for me :smiley:
Unfortunately, this seems to be an impossibility. Thank you for your help anyway!