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-5/

{
  "context": "This criteria evaluates how well the engineer leverages Home Assistant's Label Registry API to implement a label management system. The focus is on proper usage of label creation, entity-label associations, and label-based entity filtering using the Home Assistant framework.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Label Registry Integration",
      "description": "Uses Home Assistant's LabelRegistry class (from homeassistant.helpers.label_registry) to manage labels instead of implementing custom storage",
      "max_score": 25
    },
    {
      "name": "Label Creation API",
      "description": "Uses async_create method from LabelRegistry with proper parameters (name, color, icon) and handles label validation appropriately",
      "max_score": 15
    },
    {
      "name": "Label Retrieval",
      "description": "Uses async_get_label or appropriate registry methods to retrieve labels by ID and list all labels",
      "max_score": 10
    },
    {
      "name": "Label Deletion",
      "description": "Uses async_delete_label from LabelRegistry to remove labels properly",
      "max_score": 10
    },
    {
      "name": "Entity Registry Integration",
      "description": "Uses EntityRegistry (from homeassistant.helpers.entity_registry) to manage entity-label associations via the labels field",
      "max_score": 20
    },
    {
      "name": "Entity Label Assignment",
      "description": "Uses async_update_entity with labels parameter to assign or modify labels on entities",
      "max_score": 10
    },
    {
      "name": "Label-based Filtering",
      "description": "Implements entity filtering by iterating through EntityRegistry entries and checking their labels attribute to find entities by label criteria",
      "max_score": 10
    }
  ]
}

Version

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