home-assistant-best-practices
home assistant best practices
What it does
- List of individual sensor entities in a trigger → one purpose-specific trigger with an area/floor/label target:
- {{ states('x') | float > 25 }} → numericstate condition with above: 25
- {{ isstate('x', 'on') and isstate('y', 'on') }} → condition: and with state conditions
- {{ now().hour >= 9 }} → condition: time with after: "09:00:00"
- Sum/average multiple sensors → minmax integration
- Binary any-on/all-on logic → group helper
- Rate of change → derivative integration
Requirements & configuration
- | template: sensor/binary sensor in YAML | Template Helper (UI or config flow API) | Requires file edit and config reload; harder to manage | references/template-guidelines.md |
- Read these when you need detailed information:
- | references/examples.yaml | Need compound examples combining multiple best practices | — |
Derived from the skill's own SKILL.md documentation · extracted 2026-07-23
home-assistant-best-practices FAQ
What does the home-assistant-best-practices skill do?
> Best practices for HA automations, helpers, scripts, controls, and dashboards. List of individual sensor entities in a trigger → one purpose-specific trigger with an area/floor/label target: {{ states('x') | float > 25 }} → numericstate condition with above: 25
What does home-assistant-best-practices require?
| template: sensor/binary sensor in YAML | Template Helper (UI or config flow API) | Requires file edit and config reload; harder to manage | references/template-guidelines.md | Read these when you need detailed information: | references/examples.yaml | Need compound examples combining multiple best practices | — |
How do I install home-assistant-best-practices?
Run: npx -y skills add https://github.com/homeassistant-ai/skills --skill home-assistant-best-practices --agent claude-code — the source lives at github.com/homeassistant-ai/skills.
Maintain home-assistant-best-practices?
Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.
[](https://getagentictools.com/skills/homeassistant-ai-skills-home-assistant-best-practices?ref=badge) npx agentictools info skills/homeassistant-ai-skills-home-assistant-best-practices The second line is the CLI lookup for this page — handy in READMEs and docs.