Description
Reproduction steps
I am implementing a dynamic-bridge Matter device. Some of the dynamic endpoints have a LevelControl cluster added.
The problem now is that the LevelControl cluster doesn't work when the value is about to be changed via a command.
After debugging the LevelControl cluster implementation i found that the retrieved state pointer (eg. inside moveToLevelHandler()
method) is not initialized properly.
This is only the case for dynamically added endpoints. The dummy endpoint's (the endpoint to include all clusters in ZAP tool) state object gets initialized in emberAfLevelControlClusterServerInitCallback()
. Especially the maxLevel
/minLevel
members remain 0 and thus the command never executes correctly.
The attributes are set properly, see my endpoint dump attached.
Bug prevalence
always
GitHub hash of the SDK that was being used
Platform
other
Platform Version(s)
1.0.0.2
Anything else?
Metadata
Assignees
Type
Projects
Status
Todo
Activity