IoT Automation allow you to set event trigger for automation.