async withHassAsync(callback) {
        if (this.currentConfig.interfaces.homeassistant.enabled) {
            await callback(this.hassController);
        }
    }
This is a fancy wrapper inspired by Python's "with" statement. It should be called by Handles that intend to
register their own Hass components. The callback will only be called if Hass is actually enabled.

@param {withHassAsyncCb} callback
@return {Promise<void>}