It's not that hard. You make a high property tax, but add a homestead exemption[1], if you live there you get a discount on the tax. Either off of the percent or a fixed dollar amount you can deduct.
This doesn't help if you want to encourage rentals though.
This doesn't help if you want to encourage rentals though.
[1]https://en.wikipedia.org/wiki/Homestead_exemption