If door/window sensor opened, then create a case in Salesforce.