Add level triggered and edge-triggered in automation.md