protocol motion_sensor deleted