Set entity value
entities_set_valueSet numeric values on input_number, number, or climate entities in Home Assistant, dispatching to the correct service per domain.
Instructions
Set the numeric value of an input_number, number or climate entity.
Dispatches to input_number.set_value, number.set_value or
climate.set_temperature depending on entity_id's domain; any other
domain raises ValueError before any HTTP call is made.
Use when: writing a target number or temperature to one of these three
domains.
Not for: input_text, input_select, input_boolean or input_datetime — use
helpers_set_input_text, helpers_set_input_select,
helpers_set_input_boolean or helpers_set_input_datetime.
Returns: the list of changed states from Home Assistant.
Errors: raises ValueError for any domain other than input_number,
number or climate.
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": {
"entity_id": "<entity_id>",
"value": "<value>"
},
"name": "entities_set_value"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | Numeric value to write; interpreted per domain, see Behaviour. | |
| entity_id | Yes | Full entity ID to set, e.g. 'input_number.target_temp'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |