call_service: optional return_response (0.8.0) #16
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/call-service-response"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
HA's websocket
call_serviceonly includes service response data whenreturn_responseis set, and the tool dropped it.call_servicegets an optionalreturn_response(defaultfalse). When true the service response is returned underresponse; HA errors (e.g. service without response support) come back assuccess: falsewith the error.tests/test_call_service_response.py(5 tests, public example coordinates only, mocked websocket). Full suite 345 passed, ruff and mypy clean.🤖 Generated with Claude Code