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

Flashing/honking feature not working #66

Closed
dwapps opened this issue Sep 6, 2021 · 2 comments
Closed

Flashing/honking feature not working #66

dwapps opened this issue Sep 6, 2021 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@dwapps
Copy link

dwapps commented Sep 6, 2021

Describe the bug
The new flashing/honking integration doesn't seem to work for me (Superb iV)
It's working via the MySkoda app.

Debug logs

2021-09-06 21:18:46 WARNING (MainThread) [skodaconnect.vehicle] Failed to flash vehicle - name 'latitude' is not defined
2021-09-06 21:18:46 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [***************] Honk and flash action failed
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 185, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1492, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1527, in _execute_service
await handler.job.target(service_call)
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 213, in handle_service
await self.hass.helpers.service.entity_service_call(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 658, in entity_service_call
future.result() # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 843, in async_request_call
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 695, in _handle_entity_call
await result
File "/config/custom_components/skodaconnect/switch.py", line 57, in async_turn_on
await self.instrument.turn_on()
File "/usr/local/lib/python3.9/site-packages/skodaconnect/dashboard.py", line 417, in turn_on
await self.vehicle.set_honkandflash('flash')
File "/usr/local/lib/python3.9/site-packages/skodaconnect/vehicle.py", line 1026, in set_honkandflash
raise SkodaException('Honk and flash action failed')
skodaconnect.exceptions.SkodaException: Honk and flash action failed

Installation:

  • Home Assistant variant: Hass OS
  • Python version 3.9.6
@dwapps dwapps added the bug Something isn't working label Sep 6, 2021
@Farfar
Copy link
Collaborator

Farfar commented Sep 7, 2021

Looks like I forgot to change variable names at one location. Fix scheduled for next release.

@Farfar
Copy link
Collaborator

Farfar commented Sep 8, 2021

Should be fixed in latest release, v1.0.55

@Farfar Farfar closed this as completed Sep 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants