If you can afford 2 payments and tenants, do you really want to deal with these? Have you ever lost money on stocks? ... or some other form of investment? If it would be wise for you to sell, why not?
If you think your new home is prudent for you, then you can think of this as making up for sale. Take a moment to say " I could've had a V-8!" and be done with it. Cry now and smile when you move in.
In the end, making a decision because of a sprinkler system code makes me scratch my head (most of my hair is already gone). Since I do not know the details and what percentage of costs it will really add to the cost of the home it is your money. !Bang! Make sure you can sell your house or you will end up with 2 payments.... more