It would be really useful to be able to give automations (and probably scripts) their own persistent store (that doesn’t involve adding input_* entities for each flag).
Gives a lot more flexibility on repeat run automations or automations being able to read other automations states.
Cool idea. I’ve missed that many times. There are a few workarounds, but a simple status management through attributes of the automation would, of course, be an elegant solution.