CtrlK
CommunityDocumentationLog inGet started
Tessl Logo

tessl/pypi-homeassistant

tessl install tessl/pypi-homeassistant@2025.9.0

Open-source home automation platform running on Python 3.

Agent Success

Agent success rate when using this tile

69%

Improvement

Agent success rate improvement when using this tile compared to baseline

1.19x

Baseline

Agent success rate without this tile

58%

rubric.jsonevals/scenario-7/

{
  "context": "This evaluation assesses how effectively an engineer uses Home Assistant's Template System with Jinja2 integration to create, render, and validate dynamic templates. The focus is on proper usage of the Template class and related helper functions from homeassistant.helpers.template.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Template Object Creation",
      "description": "Uses the Template class constructor from homeassistant.helpers.template to create template instances, passing both the template string and HomeAssistant instance.",
      "max_score": 15
    },
    {
      "name": "Synchronous Rendering",
      "description": "Uses the Template.render() method to render templates synchronously with variables passed as a dictionary.",
      "max_score": 15
    },
    {
      "name": "Asynchronous Rendering",
      "description": "Uses the Template.async_render() method for asynchronous template rendering with proper async/await syntax.",
      "max_score": 15
    },
    {
      "name": "Template Validation",
      "description": "Uses the Template.ensure_valid() method to validate template syntax and handles TemplateError exceptions appropriately.",
      "max_score": 15
    },
    {
      "name": "Static Template Detection",
      "description": "Uses the Template.is_static property to check whether a template contains dynamic expressions or is purely static text.",
      "max_score": 10
    },
    {
      "name": "Complex Template Rendering",
      "description": "Uses the render_complex() function from homeassistant.helpers.template to render nested data structures containing template strings.",
      "max_score": 15
    },
    {
      "name": "Variable Passing",
      "description": "Correctly passes variables to template rendering methods using dictionary structures and demonstrates understanding of template variable scope.",
      "max_score": 10
    },
    {
      "name": "Import Statements",
      "description": "Uses correct imports from homeassistant.helpers.template (Template class, render_complex function) and homeassistant.core (HomeAssistant).",
      "max_score": 5
    }
  ]
}

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
pypipkg:pypi/homeassistant@2025.9.x
tile.json