Trigger an action when rain was detected