Yeelight Cube Matrix

I have a yeelight cubematrix (the cube with a matrix display). It integrates with homeassistant to the extent you can control the whole cube’s colour but not (I don’t think) able to set the individual cube matrix elements.
I have found how to do this, and might be able to hack something together (I am a developer, but don’t know python) if I knew where to start trying but not really sure how to approach this.