Home assistant best practices

From edmundmiller/dotfiles · View interactive version

Home assistant best practices is an AI agent skill from the GitHub repository edmundmiller/dotfiles. Selects Home Assistant automation, helper, device-control, and dashboard patterns. Use for HA configuration design, refactoring, or AppDaemon apps.

How to use this skill

Skill file

Home Assistant patterns

Prefer native conditions/helpers when they express the intended behavior.

Templates remain appropriate for logic native constructs cannot represent.

In this repository, Nix owns declarative HA config; UI/config-flow APIs own

UI-managed integrations. The generic references below do not transfer that

ownership or authorize live changes.

Safety and semantics

to relevant fields. If HA is unreachable, continue source-only work where

possible and identify what remains unverified rather than inventing IDs.

registry renames do not update every consumer. Use supported APIs, not direct

.storage edits.

immediately if already true. They are not interchangeable optimizations.

for retrigger semantics (restart, queued, parallel, single), not one global rule.

autodiscovered device triggers are supported exceptions.

Select a reference

template guidelines.

individual components: cards.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.