node-redlisted
Install: claude install-skill tonylofgren/aurora-smart-home
# Node-RED for Home Assistant
Build Node-RED flows using node-red-contrib-home-assistant-websocket nodes (v0.80+).
**Requirements:** Node-RED 4.x (Node.js 18+), Home Assistant 2024.3.0+.
## The Iron Law
```
USE CURRENT NODE NAMES - NEVER OUTDATED ONES
```
The node-red-contrib-home-assistant-websocket package has renamed several nodes. Using old names produces broken flows that silently fail.
## The Process
```
User request
│
▼
HA server config node exists in Node-RED?
│ no ─────────────────────────┐
│ yes ▼
│ Set up `server` config first
│ (URL, access token, allow self-signed if needed)
│ │
▼ ◀────────────────────────────┘
Pick trigger node (current names only — see table below)
│
│ time-based? ──▶ inject (time) or trigger-state with cron
│ state-change? ──▶ trigger-state OR events:state
│ event? ──▶ events:all (filtered by event_type)
│ external? ──��� http in (webhook) / mqtt in
│
▼
Add filter/condition (current-state, switch, template)
│
▼
Pick action node (current names only)
│
│ call HA service? ──▶ call-service (`action`, not `service`)
│ set entity state? ──▶ call-service light.turn_on / etc.
│ send HTTP? ──▶ http request
│ notify? ──▶ call-service notify.*
│
▼
Battery-drain risk? ──yes──▶ Add throttle/delay