With the new Tesla firmware 2021.36 we can set the charging speed from the api. And since this week the Tesla component has added the api call as well. So now we can adjust the speed like this:
service: tesla_custom.api
data:
command: CHARGING_AMPS
parameters:
path_vars:
vehicle_id: 'xxxxxxx'
charging_amps: '5'
Hope this helps