It would be useful if Forecast.Solar integration would implement the extra horizon parameter, where you can define if there are any objects at certain azimuth that cast shadow on your solar setup.
The feature is documented here User-defined horizon [Forecast.Solar] and seems it would be very easy to implement in some basic fashion: just add a text field in the config and maybe a description with some example custom horizon.