Tesla Wall Connector not working after 2022.7.2

I’ve multiple errors trying to use tesla_custom.api to change CHARGING_AMPS
It seems to be related to json. Does anyone have the same problem?
And I’ve also an error in decoding the response from the device:

Error fetching tesla-wallconnector data: Could not fetch data from Tesla WallConnector at 192.168.2.2: Error decoding response from wall connector after adding closing object character
Logger: homeassistant.components.automation.tesla_change_amps
Source: custom_components/tesla_custom/services.py:112 
Integration: Automation (documentation, issues) 
First occurred: 1:03:15 PM (1025 occurrences) 
Last logged: 8:39:15 PM

Tesla Change Amps: Error executing script. Unexpected error for call_service at pos 1:
While executing automation automation.tesla_change_amps
Tesla Change Amps: If at step 1: Error executing script. Unexpected error for call_service at pos 1:
Tesla Change Amps: Error executing script. Unexpected error for if at pos 1:
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 447, in _async_step
    await getattr(self, handler)()
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 680, in _async_call_service_step
    await service_task
  File "/usr/src/homeassistant/homeassistant/core.py", line 1713, in async_call
    task.result()
  File "/usr/src/homeassistant/homeassistant/core.py", line 1750, in _execute_service
    await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
  File "/config/custom_components/tesla_custom/services.py", line 56, in async_call_tesla_service
    await api(service_call)
  File "/config/custom_components/tesla_custom/services.py", line 112, in api
    return await controller.api(name=command, path_vars=path_vars, **parameters)
  File "/usr/local/lib/python3.10/site-packages/teslajsonpy/controller.py", line 183, in wake_up
    result = await wrapped(*args, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/teslajsonpy/controller.py", line 1803, in api
    return await self.__connection.post(
  File "/usr/local/lib/python3.10/site-packages/teslajsonpy/connection.py", line 164, in post
    return await self.__open(url, method=method, headers=self.head, data=data)
  File "/usr/local/lib/python3.10/site-packages/teslajsonpy/connection.py", line 213, in __open
    raise TeslaException(resp.status_code)
teslajsonpy.exceptions.TeslaException

Same problem here, related to a tesla car though….

I have the same problem. No solution so far.

Having similar issues and opened a Github issue for it: https://github.com/home-assistant/core/issues/75011

Hi,
I have been using tesla_custom.api through the tesla custom integration (HACS) and got a problem when calling CHARGING_AMPS (although the stacktrace is not exactly the same). The bug has been solved in the meantime:

Could it be the same issue and solution?

Yes, I’ve updated to tesla_custom 2.3.1, which is using teslajsnopy==2.3.0, and it’s working.
Thanks