remediate
Automate OpenHAB bulk fixes and generation: batch-update tags/groups, create equipment, standardize naming, optimize persistence, and audit semantic links with safe preview or apply.
Instructions
Bulk remediation and generation. action: bulk_update (batch tags/groups), create_equipment (auto-provision from thing), suggest_tags, standardize_naming, optimize_persistence, export_snapshot, boilerplate (TS types). semantic_fix: safely fix ONE item's semantic parent without touching other fields or groupNames — uses targeted REST endpoints (metadata only + additive group). semantic_fix_all: run full audit and auto-apply all safely fixable issues (dryRun=true for preview).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| addTag | No | Tag to add to the item (used by: semantic_fix as an alternative to parentName) | |
| dryRun | No | Preview changes without applying them (used by: semantic_fix, semantic_fix_all) | |
| updates | No | Used by: bulk_update | |
| itemName | No | Used by: suggest_tags, semantic_fix | |
| thingUID | No | Used by: create_equipment | |
| itemNames | No | Used by: bulk_update | |
| roomGroup | No | Target location group (used by: create_equipment) | |
| parentName | No | Name of the parent item to link to (used by: semantic_fix) | |
| parentRelation | No | Semantic relationship key (used by: semantic_fix) |