ha_rename_entity
Set or clear an entity's own name in the Home Assistant entity registry so you can label sensors and controls; pass null or an empty string to clear a custom name.
Instructions
Set or clear an entity's own name in the entity registry. Note: for device-based entities the displayed name is usually ' ', so to rename a room's thermostat, rename the device (ha_update_device) or the area (ha_update_area) instead, and clear the entity name. Pass null, "" or "null" to clear the name.
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>",
"name": "<name>"
},
"name": "ha_rename_entity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | New entity name, e.g. 'Temperature'. null, "" or "null" clears it (falls back to the device name). | |
| entity_id | Yes | e.g. sensor.office_room_thermostat_office_temperature |