From ultrahouse3000
Guidance for Home Assistant configurations. Use when writing automations, dashboards, or service calls for HA.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ultrahouse3000:home-assistantThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
**Fetch official docs for current syntax** - HA evolves rapidly:
Fetch official docs for current syntax - HA evolves rapidly:
target: + data:, not entity_id: at rootid and explicit mode!secret, never hardcodedClaude may generate deprecated patterns. Use modern syntax:
# Wrong: deprecated
service: homeassistant.turn_on
entity_id: light.porch
# Right: modern
service: light.turn_on
target:
entity_id: light.porch
Automations need id and mode:
automation:
- id: porch_light_sunset
alias: "Porch light at sunset"
mode: single # or restart, queued, parallel
trigger:
- platform: sun
event: sunset
action:
- service: light.turn_on
target:
entity_id: light.porch
Unreliable devices need guards:
action:
- choose:
- conditions:
- condition: template
value_template: >
{{ states('light.unreliable_bulb') not in ['unavailable', 'unknown'] }}
sequence:
- service: light.turn_on
target:
entity_id: light.unreliable_bulb
State triggers fire on every change. Use thresholds or debounce:
# Threshold: only fires when crossing
trigger:
- platform: numeric_state
entity_id: sensor.temperature
above: 75
# Debounce: must stay in state
trigger:
- platform: state
entity_id: sensor.temperature
for:
minutes: 5
Use templates for dynamic content:
# Bad
message: "Front door opened"
# Good
message: "Front door opened at {{ now().strftime('%I:%M %p') }}"
npx claudepluginhub racurry/neat-little-package --plugin ultrahouse3000Provides best practices for Home Assistant automations, helpers, scripts, and dashboards. Guides on avoiding templates, using native constructs, and safe refactoring.
Create and manage Home Assistant YAML configuration files including automations, scripts, templates, blueprints, Lovelace dashboards, and file organization. Use when working with Home Assistant configuration files (.yaml, .yml) or discussing HA automations, scripts, sensors, or dashboards.
Manages Home Assistant YAML configurations: editing configuration.yaml, integrations setup, secrets management, packages organization, and troubleshooting errors.