Skip to content

Conversation

@chatziko
Copy link
Contributor

A finally clause was added to wait_state in 4.5.0 to remove the event from _async_events in case entity_state_changed is never called. However, this creashes in the normal case then entity_state_changed does get called, cause async_events.pop does not find the key and fails.

This tiny PR fixes this bug.

@acockburn acockburn merged commit db2949f into AppDaemon:dev May 29, 2025
8 checks passed
@acockburn
Copy link
Member

Thanks!

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.

2 participants