update_stored_scene
Update entity states in a stored Home Assistant scene using scene ID, new name, and entity-to-state mapping.
Instructions
Update a stored scene's entity states.
Args:
scene_id: Numeric scene ID from get_ha_config_item("scene", ...).
name: Display name for the scene.
entities: Mapping of entity_id -> state dict, e.g.
{"fan.upstairs": {"state": "on", "percentage": 16}}.
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": {
"scene_id": "<scene_id>",
"name": "<name>",
"entities": "<entities>"
},
"name": "update_stored_scene"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scene_id | Yes | ||
| name | Yes | ||
| entities | Yes |