Allow priority setting in automation rules

I have a bunch of rules that need to follow a certain order or execution.

It would be great to make rules entities, such that they can be better managed including their priorities and dependencies.

I think there is next to no chance that automations will become entities in the traditional sense.
However, being able to reorder automations in a space (and thereby control their relative priority) is something we may well get round to implementing.


Iā€™m now creating a RuleRun and RuleID database to faciliate dependencies and chaining of rules.
Will share when a prototype is finished.