-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Events being sent on all the endpoints #14624
Comments
@yufengwangca Can you please check? |
@chiragatal The event is triggered on the device, it does not have the endpoint_id as an argument, so it gets logged to all endpoints on which the relevant cluster is enabled |
The point is, the switch cluster API here is broken, no? It should either know which endpoint is being addressed to start with (have per-endpoint delegates) or allow passing in the endpoint id from the caller. Looks like the implementation in PR #13036 just does not make sense for a device with more than one switch on it.... |
The same is to be checked/implemented for all other utility/app clusters too that support events? |
Probably worth it, yes... |
Taking off the IM label since this isn't an IM limitation but rather an issue with the app clusters. |
Problem
OnSwitchLatched
inswitch-server.cpp
.Proposed Solution
The text was updated successfully, but these errors were encountered: