Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The integration is only reading data and not sending commands #207

Open
3 tasks done
Marcotestolina opened this issue Mar 10, 2025 · 4 comments
Open
3 tasks done

Comments

@Marcotestolina
Copy link

Marcotestolina commented Mar 10, 2025

Checklist

  • I have filled out the issue template to the best of my ability.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • This issue is not a duplicate issue of any previous issues..

Describe the issue

The integration is only reading data and not sending commands to the machine. This issue has been occurring since yesterday, March 9th.

Reproduction steps

  1. for example change current
  2. nothing appened
  3. but integration read always data from car

...

Debug logs

    single_response = await _handle_entity_call(
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
        hass, entity, func, data, call.context
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1079, in _handle_entity_call
    result = await task
             ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/number/__init__.py", line 122, in async_set_value
    await entity.async_set_native_value(native_value)
  File "/config/custom_components/teslemetry/number.py", line 201, in async_set_native_value
    await self.handle_command(self.entity_description.func(self.api, value))
  File "/config/custom_components/teslemetry/entity.py", line 50, in handle_command
    return await handle_command(command)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/teslemetry/helpers.py", line 27, in handle_command
    res = await command
          ^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/tesla_fleet_api/tesla/vehicle/fleet.py", line 376, in set_charging_amps
    return await self._request(
           ^^^^^^^^^^^^^^^^^^^^
    ...<3 lines>...
    )
    ^
  File "/usr/local/lib/python3.13/site-packages/tesla_fleet_api/tesla/fleet.py", line 111, in _request
    async with self.session.request(
               ~~~~~~~~~~~~~~~~~~~~^
        method,
        ^^^^^^^
    ...<3 lines>...
        params=params,
        ^^^^^^^^^^^^^^
    ) as resp:
    ^
  File "/usr/local/lib/python3.13/site-packages/aiohttp/client.py", line 1425, in __aenter__
    self._resp: _RetType = await self._coro
                           ^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/aiohttp/client.py", line 730, in _request
    await resp.start(conn)
  File "/usr/local/lib/python3.13/site-packages/aiohttp/client_reqrep.py", line 1054, in start
    with self._timer:
         ^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/aiohttp/helpers.py", line 671, in __exit__
    raise asyncio.TimeoutError from exc_val
TimeoutError

@Marcotestolina
Copy link
Author

error: failed to perform the action number/set_value.

@Bre77
Copy link
Member

Bre77 commented Mar 10, 2025

I'll need to know your VIN to check the server side logs because I don't believe there is anything in the integration that would be causing a timeout error.

You can email support@teslemetry.com if you don't want to share it here.

Can you also let me know which commands you have tried, and if you haven't already try flash lights.

@Marcotestolina
Copy link
Author

I'll need to know your VIN to check the server side logs because I don't believe there is anything in the integration that would be causing a timeout error.

You can email support@teslemetry.com if you don't want to share it here.

Can you also let me know which commands you have tried, and if you haven't already try flash lights.

ok, i send vin at support@teslemetry.com

@Marcotestolina
Copy link
Author

i saw that there is this error : number.set_value when i try to change a charge current value o battery limit value

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants