A man from West Somerset has been sentenced to 30 months in prison for assault by beating and threatening to damage a caravan.