From home-assistant
Fire a custom Home Assistant event. Use when the user wants to trigger automations that listen for custom event types, or test event-driven automations.
npx claudepluginhub cameri/claude-skills --plugin home-assistantThis skill is limited to using the following tools:
<objective>
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
Guides TDD-style skill creation: pressure scenarios as tests, baseline agent failures, write docs to enforce compliance, verify with RED-GREEN-REFACTOR.
Guides idea refinement into designs: explores context, asks questions one-by-one, proposes approaches, presents sections for approval, writes/review specs before coding.
<quick_start>
/home-assistant:fire-event my_custom_event
/home-assistant:fire-event my_custom_event device=front_door action=opened
/home-assistant:fire-event call_service domain=light service=turn_off
</quick_start>
<context> Load credentials before every call: ```bash source ~/.claude/channels/home-assistant/.env ``` If `.env` is missing or `HA_URL`/`HA_TOKEN` are not set, tell the user to run `/home-assistant:access` first. </context> <workflow> Parse `$ARGUMENTS`: - First arg: `<event_type>` (required) — the event name (e.g. `my_custom_event`) - Remaining args: `key=value` pairs → event data payload (optional)If no additional args, send empty body {}.
httpie call with event data:
http --ignore-stdin -b POST "${HA_URL%/}/api/events/<event_type>" \
"Authorization: Bearer $HA_TOKEN" \
key="value" \
key2="value2"
httpie call with no data:
http --ignore-stdin -b POST "${HA_URL%/}/api/events/<event_type>" \
"Authorization: Bearer $HA_TOKEN"
Display result:
{"message": "Event <event_type> fired."} → show "Event fired: <event_type>"List active event types — fire-event list:
http --ignore-stdin -b GET "${HA_URL%/}/api/events" \
"Authorization: Bearer $HA_TOKEN"
Display as table: Event Type, Listener Count. </workflow>
<success_criteria>
list subcommand shows all active event types
</success_criteria>