Vacuumd refactoring: convert statements to automations and auto-events to action-events.