The youngster died inside the family home in Yorkshire