I have started a new thread for the 5.0 version of the Matter binding, please use that for future questions or issues.
Thanks!