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

fix: STARKVIND child_lock was broken after refactor #7602

Merged
merged 1 commit into from
Jun 4, 2024

Conversation

sjorge
Copy link
Sponsor Contributor

@sjorge sjorge commented Jun 3, 2024

As reported here Koenkk/zigbee2mqtt#8744 (comment), the refactor to modernExtend inverted the logic for child_lock and also changed the type to boolean true/false while most child_lock exposes use LOCK/UNLOCK.

This change addresses this, by reverting back to the old behavior and LOCK/UNLOCK value.

Testing was easy, I observe the wrong and inverted behavior on my STARKVIND. And observed the correct behavior afterwards.

As reported here Koenkk/zigbee2mqtt#8744 (comment),
this refactor inverted the logic for child_lock and also changed the type to boolean true/false while most child_lock exposes use LOCK/UNLOCK.

This change addresses reverts back to the old behavior.
@Koenkk Koenkk merged commit 18f841f into Koenkk:master Jun 4, 2024
2 checks passed
@Koenkk
Copy link
Owner

Koenkk commented Jun 4, 2024

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