Skip to content

iowarp/home-assistant

v1.0.0BSD-3-Clause AND MIT

Work with your Home Assistant: read sensors and their history for analysis, control devices, and write automations, scripts, scenes, helpers and dashboards the native Home Assistant way, with the homeassistant-ai best-practices skill. It belongs to the Home Assistant connector: add it to a conversation while that connector is enabled.

home-assistant-best-practices

Home Assistant (HA) best practices. Load first, before answering or exploring, on any HA request. TRIGGER THIS SKILL WHEN: - Creating or editing automations, scripts, scenes, dashboards, blueprints - Choosing template sensors, helpers, or Jinja macros - Restructuring triggers, conditions, or modes; button, remote, or event-entity automations - Renaming entities or migrating device_id to entity_id - Looking up card types or domain docs; writing AppDaemon apps - Deleting or restoring a backup, or upgrading Core or the OS SYMPTOMS: - Jinja2 templates where native options exist - device_id used instead of entity_id - Entity IDs changed without checking consumers - Wrong automation mode chosen - Raw sensor or hard-coded value used where a helper belongs - Direct .storage edits or automation lookups there; generated YAML - User told to edit configuration.yaml for UI integrations - Hardcoded Blueprint entities or skipped selectors - Existing state changed with no recovery path - Jinja copy-pasted between templates

Version
56
Read SKILL.md at the source

Pinned to revision a9d1a8a7e628, so it is the text this page describes rather than whatever the author pushed since.

Files

Every link opens the file at its source, pinned to the revision this page describes.