The API Docs referenced at this URL: REST API | Home Assistant Developer Docs indicates that a POST call to /api/services// will “Will return when the service has been executed or after 10 seconds, whichever comes first”
Is the 10 seconds configurable somehow? I’d like the behavior of the API to be to return sooner while automation is still proceeding in the background. Because it’s 10 seconds, Alexa thinks “device is not responding, please check it’s network connection”…ultimately it all succeeds. I’d like to fix the Alexa response.
I’ve narrowed down that this Alexa response is directly correlated with HA REST API response times. I know that there are workarounds like changing an input_boolean via API and using that to trigger the automation in the background but if I could change the “10 seconds”, it’d save me a lot of work from having to employ these workarounds.