Priority queue for state changes

Well, if you’re inclined enough, you can make your own queue. There’s a number of ways to do it. You just need to store the queue.

Well the issue is I can’t think of a storage solution for queues without resorting to coding. I want to code as little as possible. That’s why I am thinking of using a to do list as a queue.
Do you have a suggestion for storage?

MQTT topic, template sensor, calendar entity, todo list