When clicking the button, make it open a small menu (like the harvest button), where you can select and deselect which types to upgrade automatically.
Fx if you’re expanding your town, and want the new houses to get up to only Large Houses, but then have to upgrade them all manually, instead of letting everything upgrade at will, if you don’t wish to fx go up to Manor or Mansion with the houses ready for this.
Another idea could be to add an upgrade hotkey. So instead of having to open up each house and click upgrade, you simply press the upgrade hotkey, and each house that is ready will upgrade by simply clicking on it.