call_service: optional return_response (0.8.0) #16

Merged
tim merged 1 commit from feat/call-service-response into develop 2026-10-29 18:20:21 +00:00
Owner

HA's websocket call_service only includes service response data when return_response is set, and the tool dropped it.

  • call_service gets an optional return_response (default false). When true the service response is returned under response; HA errors (e.g. service without response support) come back as success: false with the error.
  • Default output is unchanged.
  • Tests: tests/test_call_service_response.py (5 tests, public example coordinates only, mocked websocket). Full suite 345 passed, ruff and mypy clean.
  • Bumps the version to 0.8.0 (0.7.0 was the HTTP transports release, already tagged) and updates the CHANGELOG.

🤖 Generated with Claude Code

HA's websocket `call_service` only includes service response data when `return_response` is set, and the tool dropped it. - `call_service` gets an optional `return_response` (default `false`). When true the service response is returned under `response`; HA errors (e.g. service without response support) come back as `success: false` with the error. - Default output is unchanged. - Tests: `tests/test_call_service_response.py` (5 tests, public example coordinates only, mocked websocket). Full suite 345 passed, ruff and mypy clean. - Bumps the version to 0.8.0 (0.7.0 was the HTTP transports release, already tagged) and updates the CHANGELOG. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
call_service: optional return_response, release 0.8.0
All checks were successful
Test & Build / Lint and test (pull_request) Successful in 28s
Test & Build / Build & Push Docker Image (pull_request) Has been skipped
Test & Build / Create Forgejo Release (pull_request) Has been skipped
Security / Security scan (pull_request) Successful in 57s
a8572a31b1
HA's websocket call_service only includes service response data when
return_response is set. The tool gets an optional return_response
(default false, default output unchanged) that returns it under
'response'. Bumps the version to 0.8.0 and the CHANGELOG.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
tim merged commit c60410a922 into develop 2026-10-29 18:20:21 +00:00
tim deleted branch feat/call-service-response 2026-10-29 18:20:21 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
tim/hass-mcp!16
No description provided.