The man who planted an explosive device outside the home of a pro-Palestinian resident has been sentenced to 12 months in jail, despite the court being told about his extensive mental health challenges.