audi_connect_ha: Doors unlocked (false positive?)

Describe the bug Has there been any changes in regards to locked state? The last week I’ve had doors shown as unlocked, but every state in the remaining entities (single door or window) show it is closed / locked. Kind of hard to explain.

EDIT: If i try to lock the car in HA I get this:

This error originated from a custom integration.

Logger: custom_components.audiconnect.util
Source: custom_components/audiconnect/util.py:26
integration: Audi Connect (documentation, issues)
First occurred: 08:28:10 (1 occurrences)
Last logged: 08:28:10

Unable to lock {VIN-REDACTED}: 404, message='Not Found', url='https://fal-3a.prd.eu.dp.vwg-connect.com/fs-car/bs/rlu/v1/Audi/DE/vehicles/{VIN-REDACTED}/actions'

To Reproduce Not possible to define.

Expected behavior When looking at the other open / lock entities, the cars should be locked. The myAudi app is also showing it as locked and safely parked.

Screenshots image

image

Logfile home-assistant_audiconnect_2024-11-14T07-17-12.494Z.log

Your Vehicle Details Model: A5 Sportback Advanced 40 TFSI Year: 2021 Type (Gas/Hybrid/Electric): Gas Region (EU/US/CA/CN): EU

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 4
  • Comments: 22 (8 by maintainers)

Most upvoted comments

To-Do: State of doors_trunk_state shouldn’t be “Open”, “Locked” or “Unlocked” use technical values (1, 2, 3?) instead to ensure “translations”.

audi_connect_ha/custom_components/audiconnect/audi_connect_account.py

Line 1452 in 202b9b8 def doors_trunk_status(self):

Agree this needs cleanup. Some points of consideration:

  • We have a door lock sensor. So why do we need to use this to show lock or unlock?
  • Is the purpose of this to also include the trunk in the doors to determine if anything is unlocked, i would think this should just be included in the doors lock. Is there ever a separate sensor for the lock for the trunk?
  • Do we need to include the hood in any of these as well?

We should review all of these sensors and clean them up after discussion to ensure things are included/excluded as we (the community) want them to.

To-Do: State of doors_trunk_state shouldn’t be “Open”, “Locked” or “Unlocked” use technical values (1, 2, 3?) instead to ensure “translations”. audi_connect_ha/custom_components/audiconnect/audi_connect_account.py Line 1452 in 202b9b8 def doors_trunk_status(self):

Agree this needs cleanup. Some points of consideration:

  • We have a door lock sensor. So why do we need to use this to show lock or unlock?
  • Is the purpose of this to also include the trunk in the doors to determine if anything is unlocked, i would think this should just be included in the doors lock. Is there ever a separate sensor for the lock for the trunk?
  • Do we need to include the hood in any of these as well?

We should review all of these sensors and clean them up after discussion to ensure things are included/excluded as we (the community) want them to.

Exact my points. I think we don’t need to check only if locked or unlocked and not opened/closed. Need to check data if trunk has it’s own locked/unlocked state but I guess so:

  • any_door_unlocked_supported
  • trunk_unlocked

The reported issue was fixed. The failing actions (ex. lock/unlock) is already reported by #514.

Status:

Yes, it still happens. Currently rolled back to the previous version.

Role back to 1.10.2 that solved the problem for me , I couldn´t lock start preheater but all info was updated and correct

Same issue with me