Skip to content

Fix #558 - Deadlock on AccessControl#559

Merged
rroller merged 1 commit into
rroller:mainfrom
lukx:main
Mar 21, 2026
Merged

Fix #558 - Deadlock on AccessControl#559
rroller merged 1 commit into
rroller:mainfrom
lukx:main

Conversation

@lukx

@lukx lukx commented Mar 21, 2026

Copy link
Copy Markdown
Contributor

Fix #558 - Deadlock on AccessControl Event

When a Dahua VTO successfully scans a fingerprint or an NFC tag, the integration completely freezes the Home Assistant Core instance. The system becomes entirely unresponsive, and no further logs or automations execute until the Home Assistant container is forcefully restarted.

Analysis showed that the refactoring of the async flows was forgotten here, making the integration wait on the main thread.

Tested successfully for 3 days in my own instance.

Fix rroller#558 - Deadlock on AccessControl Event 

When a Dahua VTO successfully scans a fingerprint or an NFC tag, the integration completely freezes the Home Assistant Core instance. The system becomes entirely unresponsive, and no further logs or automations execute until the Home Assistant container is forcefully restarted.

Analysis showed that the refactoring of the async flows was forgotten here, making the integration wait on the main thread.

Tested for 3 days in my own instance.
@rroller

rroller commented Mar 21, 2026

Copy link
Copy Markdown
Owner

Thank you!

@rroller rroller merged commit 3cecb3d into rroller:main Mar 21, 2026
3 checks passed
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

Successfully merging this pull request may close these issues.

Deadlock (Complete System Freeze) when processing VTO AccessControl events (Fingerprint/NFC)

2 participants