Added door switch