Automation UI - Allow to re-order conditions

Just like you can reorder the actions it would be good if you could move the conditions as well.

I had a lot of automations that filled my logs with template errors because the attribute (media playing) didn’t exist because the device had just been turned off. If I add a condition above it to check the state is off there are no errors. As this proves the conditions are read in order it would be good to be able to move them around with the arrows :slight_smile: