<< All versions
Skill v1.0.1
currentLLM-judged scan90/100gtapps/hermitd/ha-delete-config
+1 new
──Details
PublishedOctober 21, 2026 at 06:03 AM
Content Hashsha256:5388605d2be18373...
Git SHAf2f8e111f307
Bump Typepatch
──Files
Files (1 file, 2.3 KB)
SKILL.md2.3 KBactive
SKILL.md · 41 lines · 2.3 KB
version: "1.0.1" name: ha-delete-config description: Delete an automation or script from Home Assistant via REST API with operator confirmation. Use when the operator asks to remove, delete, or disable a specific automation or script. allowed-tools:
- Bash
- Read
Delete HA Config
Removes an automation or script from Home Assistant via DELETE /api/config/{domain}/config/{id}.
Steps
- Identify the target: Ask the operator which automation or script to delete (name or ID).
- If unknown, list options:
${CLAUDE_PLUGIN_ROOT}/bin/ha-agent-lab ha list-automationsorha list-scripts. - Each entry under
automations(orscripts) carriesid, the config ID needed for deletion.friendly_nameshows the UI display name (this is HA'sfriendly_nameattribute, which may differ from the YAMLalias:field if the operator customized it via the UI). deletableisfalsefor YAML-packaged automations (no numericid): these cannot be removed via REST. Tell the operator to delete the YAML block from their config files and reload manually instead.
- Preview: Show the target details (entity_id, id, friendly_name, state). This action cannot be undone via CLI.
- Delete: Run the appropriate command:
${CLAUDE_PLUGIN_ROOT}/bin/ha-agent-lab ha delete-automation <id>for automations.${CLAUDE_PLUGIN_ROOT}/bin/ha-agent-lab ha delete-script <id>for scripts.
- Check result:
OK: config deleted. The entity stays in the registry until the next reload.{"status":"not_found","reason":"no_config"}: the ID doesn't exist in HA.{"error":...}: surface the error to the operator.
- Reload (optional): After deletion the entity stays in the registry until the next reload. Offer to trigger one:
- Tell the operator to go to HA Developer Tools → Services → `automation.reload` (or
script.reload). - Do not use
validate-applyfor this — it would also push the supplied YAML as a new config.
Safety
- Always confirm with the operator before deleting. Deletion is immediate and removes the config from HA storage.
- Deletion does not check for sensitive entities — the automation is already gone, there is nothing to gate.
- After deletion, the automation will no longer fire. The entity_id remains in the registry until reload.