Update changelog for version 0.1.13, add native Assist entity exposure support, enhance context handling in chat service, and introduce helper for entity exposure context.

This commit is contained in:
techartdev
2026-02-20 16:49:13 +02:00
parent 2331ec0d8d
commit c0f9e5c42e
7 changed files with 118 additions and 5 deletions
+3
View File
@@ -44,6 +44,7 @@ from .const import (
SERVICE_SEND_MESSAGE,
)
from .coordinator import OpenClawCoordinator
from .exposure import build_exposed_entities_context
_LOGGER = logging.getLogger(__name__)
@@ -313,9 +314,11 @@ def _async_register_services(hass: HomeAssistant) -> None:
coordinator: OpenClawCoordinator = entry_data["coordinator"]
try:
system_prompt = build_exposed_entities_context(hass, assistant="assist")
response = await client.async_send_message(
message=message,
session_id=session_id,
system_prompt=system_prompt,
)
assistant_message = _extract_assistant_message(response)