Suggest NeonPlan 3D entity bindings
neonplan_suggest_bindingsSuggests which Home Assistant entities in a NeonPlan room's area fit each plan field, grouped by role, without writing changes; use before patching a plan to fill entity fields explicitly.
Instructions
Propose which entities of a NeonPlan room's HA area fit which plan field, without writing anything.
Finds the room in the plan, reads HA's entity and device registries and
states, keeps the enabled entities of the room's area_id and groups
them by role: blinds → opening.cover, window/door contacts →
opening.contact, lights → lamp furniture entity, temperature/
humidity/CO2 sensors → room.climate, climate → radiator/ac_unit,
media players → tv_wall, vacuums → robot_vacuum, cameras → pins, locks
→ opening.lock. Each entity says where the plan already uses it.
Use when: filling entity fields explicitly instead of leaving null
(automatic) before neonplan_patch_plan.
Not for: the area's entities in general — use areas_get_area_entities.
Returns: {"plan", "room": {id, name, area_id}, "openings": [...], "suggestions": {role: {"target", "entities": [{entity_id, name, device_class, used_at}]}}, "unassigned": [entity ids]}.
Errors: invalid_plan, plan_not_found, room_not_found,
room_has_no_area, neonplan_not_installed, ha_unreachable.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"room_id": "<room_id>"
},
"name": "neonplan_suggest_bindings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | No | Plan id from `neonplan_list_plans`; `main` (default) is the plan every install has. | main |
| room_id | Yes | Room id from `neonplan_get_plan` (summary_only lists them). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||