Skip to content

#21452: Fix nested topics matching #21521

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

Merged
merged 1 commit into from
Feb 22, 2024

Conversation

grafalex82
Copy link
Contributor

@grafalex82 grafalex82 commented Feb 21, 2024

Issue: #21452

Promblem: Suppose you have a few nested groups, such as room and room/area. In some cases nested group room/area is treated as device named room with endpoint area, which therefore leads to an action on an incorrect object.

Fix: the order or matching is changed. First it tries the exact match room/area. In case if this match does not happen, it tries to sprint on room device and area endpoint, which are then matched and resolved separately.

@Koenkk Koenkk merged commit 471902e into Koenkk:dev Feb 22, 2024
@Koenkk
Copy link
Owner

Koenkk commented Feb 22, 2024

Thanks!

@grafalex82 grafalex82 deleted the fix_nested_topics_matching branch February 22, 2024 20:26
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