Automatically control covers but limit the movements (eg only once every 30 minutes)

Hello
I would like to start automating my covers.
My idea is to have them rolling down if the outside temperature is greater than for example 30° and the sun is shining to that window (lux from east, west or south) and/or the temperature in the room is increasing. Not yet totaly sure about the algorithm / conditions, need to play around with them.
But my main concern is that I do not want the covers to move too often. Like when there’s a cloud or winds or whatever.
Something like:
if the last movement was less than 30 minutes ago, abort the automation
How can something like this be done with Home Assistant?
I thought about variables where there is an inofficial component to have them in kind of a hacky way (https://github.com/rogro82/hass-variables). Would this be the way to go or are there alternative solutions?
Thanks for your advices
Roman

I’ll let you think a bit more about the triggers and conditions (it’s after all what the HA fun is all about). Let me know if you struggle though.

Foor your “don’t run if it ran in the last 30 min”, the easiest is to add a condition to your automation that checks if that automation ran in the last 30 min:

    - condition: template
      value_template: '{{ (as_timestamp(now()) - as_timestamp(states.automation.REPLACE_THIS_WITH_YOUR_AUTOMATION_NAME.attributes.last_triggered | default(0)) | int > 1800)}}'