Turn on smart life device when contact sensor open.