Repository navigation
Remove Assist tools from PowerLLM API - #7
Merged
Merged
Conversation
There was a problem hiding this comment.
🟡 Changes recommended
The HACS minimum version excludes Home Assistant 2026.8.0, conflicting with the stated compatibility fix.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
Removes core Assist tools from PowerLLM while preserving PowerLLM-specific tooling and detailed state queries.
Changes:
- Separates PowerLLM and Assist APIs.
- Adds entity-ID context, option migration, and Probatio schemas.
- Updates tests, documentation, dependencies, and runtime requirements.
File summaries
| File | Summary |
|---|---|
tests/tools/test_web_scrape.py |
Removes an obsolete workaround. |
tests/tools/test_script.py |
Tests entity-ID prompt mappings. |
tests/tools/test_python_code.py |
Removes an obsolete workaround. |
tests/tools/test_get_state.py |
Tests detailed state queries. |
tests/test_llm_tools.py |
Updates schema and state-format tests. |
tests/test_http.py |
Tests separated HTTP APIs. |
tests/test_config_flow.py |
Tests option migration and removal. |
tests/test_api.py |
Tests separate and merged APIs. |
tests/snapshots/test_http.ambr |
Removes an obsolete Assist-tool snapshot. |
tests/const.py |
Updates option and tool fixtures. |
tests/conftest.py |
Supplies conversation assistant context. |
setup.py |
Requires Python 3.14. |
setup.cfg |
Removes Python 3.13 environments. |
requirements_test_all.txt |
Adds a test dependency. |
README.md |
Documents API separation and upgrade steps. |
hacs.json |
Raises the minimum Home Assistant version, excluding 2026.8.0 despite the stated compatibility scope. |
custom_components/powerllm/translations/en.json |
Updates English configuration text. |
custom_components/powerllm/tools/script.py |
Adds exposed entity-ID prompt mappings. |
custom_components/powerllm/tools/memory.py |
Migrates schema validation to Probatio. |
custom_components/powerllm/tools/get_state.py |
Adds detailed state-query functionality. |
custom_components/powerllm/tools/duckduckgo.py |
Migrates schema validation to Probatio. |
custom_components/powerllm/strings.json |
Updates configuration text. |
custom_components/powerllm/recursive_data_flow.py |
Migrates validation to Probatio. |
custom_components/powerllm/llm_tools.py |
Removes Assist wrappers and state logic. |
custom_components/powerllm/http.py |
Uses Probatio OpenAPI conversion. |
custom_components/powerllm/config_flow.py |
Removes retired configuration options. |
custom_components/powerllm/api.py |
Limits the API to PowerLLM-specific tools. |
custom_components/powerllm/__init__.py |
Migrates retired options. |
.github/workflows/powerllm.yml |
Tests Python 3.14 only. |
Review details
- Files reviewed: 29/29 changed files
- Comments generated: 1
- Review effort level: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Shulyaka
force-pushed
the
ha_2026.8_compatibility
branch
from
September 5, 2026 18:46
0c2a649 to
5a39d25
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Home Assistant 2026.08 has updated the way LLM tools are managed.
To keep compatibility, this PR removes core Assist tools from PowerLLM API.
This is a breaking change.
What it means for the user:
HassGetStatetool remains available and allows both device discovery and rich output formatting.entity_id./api/powerllm/powerllmand/api/powerllm/assist. Or migrate to the core MCP Server integration, which provides similar functionality in a standard way, except the ability to select HA user and device.Fixes #6