home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.8k stars 30.06k forks source link

Teslemetry Play Fart Not Working #127002

Open mattdevo1 opened 3 hours ago

mattdevo1 commented 3 hours ago

The problem

“Play Fart” does not seem to be working. All other controls seem to be fine (climate, door lock, flash lights, etc)

Here is the error in the UI:

IMG_0076

What version of Home Assistant Core has the issue?

2024.9.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Teslemetry

Link to integration documentation on our website

https://www.home-assistant.io/integrations/teslemetry/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Core log:

logger:%20homeassistant.components.websocket_api.http.connection%0ASource%3A%20components/websocket_api/commands.py:245%0Aintegration:%20Home%20Assistant%20WebSocket%20API%20(documentation,%20issues)%0AFirst%20occurred:%209:05:55%20AM%20(4%20occurrences)%0ALast%20logged:%209:10:09%20AM%0A%0A%5B140354527225328%5D%20Unexpected%20exception%0A%5B140354770880112%5D%20Unexpected%20exception%0ATraceback%20(most%20recent%20call%20last):%0A%20%20File%20%22/usr/src/homeassistant/homeassistant/components/teslemetry/helpers.py%22,%20line%2037,%20in%20handle_command%0A%20%20%20%20result%20=%20await%20command%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%0A%20%20File%20%22/usr/local/lib/python3.12/site-packages/tesla_fleet_api/vehiclespecific.py%22,%20line%20166,%20in%20remote_boombox%0A%20%20%20%20return%20await%20self._parent.remote_boombox(self.vin,%20sound)%0A%20%20%20%20%20%20%20%20%20%20%20%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%0A%20%20File%20%22/usr/local/lib/python3.12/site-packages/tesla_fleet_api/vehicle.py%22,%20line%20261,%20in%20remote_boombox%0A%20%20%20%20return%20await%20self._request(%0A%20%20%20%20%20%20%20%20%20%20%20%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%0A%20%20File%20%22/usr/local/lib/python3.12/site-packages/tesla_fleet_api/teslemetry.py%22,%20line%2073,%20in%20_request%0A%20%20%20%20return%20await%20super()._request(method,%20path,%20params,%20json)%0A%20%20%20%20%20%20%20%20%20%20%20%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%0A%20%20File%20%22/usr/local/lib/python3.12/site-packages/tesla_fleet_api/teslafleetapi.py%22,%20line%20133,%20in%20_request%0A%20%20%20%20await%20raise_for_status(resp)%0A%20%20File%20%22/usr/local/lib/python3.12/site-packages/tesla_fleet_api/exceptions.py%22,%20line%20344,%20in%20raise_for_status%0A%20%20%20%20raise%20Forbidden(data)%0Atesla_fleet_api.exceptions.Forbidden:%20Access%20to%20this%20resource%20is%20not%20authorized,%20developers%20should%20check%20required%20Scope.%0A%0AThe%20above%20exception%20was%20the%20direct%20cause%20of%20the%20following%20exception:%0A%0ATraceback%20(most%20recent%20call%20last):%0A%20%20File%20%22/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py%22,%20line%20245,%20in%20handle_call_service%0A%20%20%20%20response%20=%20await%20hass.services.async_call(%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%0A%20%20File%20%22/usr/src/homeassistant/homeassistant/core.py%22,%20line%202761,%20in%20async_call%0A%20%20%20%20response_data%20=%20await%20coro%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%0A%20%20File%20%22/usr/src/homeassistant/homeassistant/core.py%22,%20line%202804,%20in%20_execute_service%0A%20%20%20%20return%20await%20target(service_call)%0A%20%20%20%20%20%20%20%20%20%20%20%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%0A%20%20File%20%22/usr/src/homeassistant/homeassistant/helpers/service.py%22,%20line%20996,%20in%20entity_service_call%0A%20%20%20%20single_response%20=%20await%20_handle_entity_call(%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%0A%20%20File%20%22/usr/src/homeassistant/homeassistant/helpers/service.py%22,%20line%201068,%20in%20_handle_entity_call%0A%20%20%20%20result%20=%20await%20task%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%0A%20%20File%20%22/usr/src/homeassistant/homeassistant/components/button/__init__.py%22,%20line%20132,%20in%20_async_press_action%0A%20%20%20%20await%20self.async_press()%0A%20%20File%20%22/usr/src/homeassistant/homeassistant/components/teslemetry/button.py%22,%20line%2090,%20in%20async_press%0A%20%20%20%20await%20handle_vehicle_command(self.entity_description.func(self))%0A%20%20File%20%22/usr/src/homeassistant/homeassistant/components/teslemetry/helpers.py%22,%20line%2046,%20in%20handle_vehicle_command%0A%20%20%20%20result%20=%20await%20handle_command(command)%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%0A%20%20File%20%22/usr/src/homeassistant/homeassistant/components/teslemetry/helpers.py%22,%20line%2039,%20in%20handle_command%0A%20%20%20%20raise%20HomeAssistantError(f%22Teslemetry%20command%20failed,%20%7Be.message%7D%22)%20from%20e%0Ahomeassistant.exceptions.HomeAssistantError:%20Teslemetry%20command%20failed,%20Access%20to%20this%20resource%20is%20not%20authorized,%20developers%20should%20check%20required%20Scope.%0A

Additional information

No response

home-assistant[bot] commented 3 hours ago

Hey there @bre77, mind taking a look at this issue as it has been labeled with an integration (teslemetry) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `teslemetry` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign teslemetry` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


teslemetry documentation teslemetry source (message by IssueLinks)