Added magnetic door sensor