Change PIR event behavior.