github ITSpecialist111/ai_automation_suggester v1.8.0
AI Automation Suggester 1.8.0

one hour ago

AI Automation Suggester 1.8.0

Home Assistant 2026.12 capabilities

  • Home Assistant 2026.12 LLM tools (llm.py): Contributes ai_automation_suggester__list_suggestions, ai_automation_suggester__generate_suggestions, and ai_automation_suggester__update_suggestion_status to Home Assistant's admin-only home_assistant LLM API (and Home Assistant's built-in MCP Server). Tools follow the 2026.12 LLMTools / ToolResult / ToolAnnotations / integration tagging contract and remain review-only (no live automations are created or modified automatically). Older Home Assistant versions ignore the platform cleanly.
  • Action response data (SupportsResponse.OPTIONAL): ai_automation_suggester.generate_suggestions now supports return_response: true (response_variable in scripts, automations, and ai_task workflows), returning the provider, model, processed entity count, warnings, and generated suggestions while preserving None for callers that do not request a response.
  • 2026.12 prompt & YAML context: Prompt instructions guide models toward modern Home Assistant 2026.12 YAML (triggers / conditions / actions, trigger / action, target selectors with optional exclude blocks, and purpose-specific button triggers/conditions). Entity context blocks include Floor and Label registry metadata when available, and derive human-readable names from device + entity registry entries when friendly_name is absent.
  • Template entity validation: Generated YAML validation now checks entity IDs referenced inside common Home Assistant Jinja template functions (states(), is_state(), is_state_attr(), state_attr(), has_value(), entity_name(), state_translated()) in addition to explicit entity_id fields.

Providers, models, and diagnostics

  • Integrates community PR #201 (Opper OpenAI-compatible gateway).
  • Integrates community PR #202 (Runcrate OpenAI-compatible gateway).
  • Integrates community PR #203 (Atlas Cloud OpenAI-compatible gateway).
  • Applies fixed-sampling temperature guards for Claude 4.7+ and OpenAI GPT-5+ / o-series models across Opper, Runcrate, and Atlas Cloud, and adds explicit gpt-6.1-sol and gpt-6-luna entries to the OpenAI model catalog.
  • Adds status_detail on the AI Provider Status diagnostic sensor so initializing explicitly explains that setup succeeded and generation is on demand (issue #195).

Validation and limitations

  • Validated with Ruff and pytest unit/smoke tests, including loopback HTTP generation tests across Anthropic, OpenRouter, Requesty, Cheaper Inference, Opper, Runcrate, Atlas Cloud, and MiniMax, plus action response and Home Assistant 2026.12 LLM tool tests.
  • Home Assistant registries, storage, and LLM helpers are stubbed in unit tests; live cloud API keys for third-party gateways were verified via unauthenticated/invalid-token HTTP status probes (401 on invalid keys) rather than paid inference runs.

Thanks to the contributors of PRs #201, #202, and #203.

Don't miss a new ai_automation_suggester release

NewReleases is sending notifications on new releases.