I have the integration throwing a HomeAssistantError when it encounters an error.
For example, a service call to set the HVAC mode of a climate entity to “Heat” when the zone does not support heat.
What happens is:
First, HA logs the error with a complete stack traceback - so it looks very messy in the log. It appears it is treating this as an unexpected exception vs an expected exception?
Second, the exception information does not make it back to the caller (in this case the service panel in the developer tab)
Based on this, it seems that throwing an exception does not accomplish much and creates a messier log file - and the best approach is just to log the error and return.