Giter VIP home page Giter VIP logo

Comments (10)

Bre77 avatar Bre77 commented on July 25, 2024 1

Yes, I'll throw it into a future release but you'll have to test it and let me know if it works because I cannot test it.

from hass-teslemetry.

ddaddy avatar ddaddy commented on July 25, 2024

No problem

from hass-teslemetry.

Bre77 avatar Bre77 commented on July 25, 2024

The latest release has Home Link button and it works as far as I can test it. Let me know what error you get when running it.

from hass-teslemetry.

ddaddy avatar ddaddy commented on July 25, 2024
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 240, in handle_call_service
    response = await hass.services.async_call(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2279, in async_call
    response_data = await coro
                    ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2316, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 892, in entity_service_call
    single_response = await _handle_entity_call(
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 962, in _handle_entity_call
    result = await task
             ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/button/__init__.py", line 139, in _async_press_action
    await self.async_press()
  File "/config/custom_components/teslemetry/button.py", line 82, in async_press
    await self.handle_command(self.entity_description.func(self.api))
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/teslemetry/button.py", line 43, in <lambda>
    lat=api.coordinator.data["drive_state_latitude"],
        ^^^^^^^^^^^^^^^
AttributeError: 'VehicleSpecific' object has no attribute 'coordinator'```

from hass-teslemetry.

Bre77 avatar Bre77 commented on July 25, 2024

Sorry I should have been cleared you'll need to update to the latest release, which in HACS may require you to tick the beta switch to see it.

from hass-teslemetry.

ddaddy avatar ddaddy commented on July 25, 2024

Ah ok. I did update but not to the beta. I’ll get back to you.

from hass-teslemetry.

ddaddy avatar ddaddy commented on July 25, 2024
2024-02-13 08:58:18.805 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Teslemetry for teslemetry
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 444, in async_setup
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/teslemetry/__init__.py", line 78, in async_setup_entry
    car_type=product["vehicle_config"]["car_type"],
             ~~~~~~~^^^^^^^^^^^^^^^^^^
KeyError: 'vehicle_config'

from hass-teslemetry.

Bre77 avatar Bre77 commented on July 25, 2024

Ok leave it with me.

from hass-teslemetry.

Bre77 avatar Bre77 commented on July 25, 2024

Turns out this was a change made by Tesla to the product API endpoint, took out the whole integration. A new version has been released to fix it.

from hass-teslemetry.

Bre77 avatar Bre77 commented on July 25, 2024

@ddaddy please retest with the latest version (1.5.5) when possible.

from hass-teslemetry.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.