moved open and close door sensors to analog reads