Aqara Magic Cube ZHA (51 actions)

I believe this blueprint has a way to control what rotate does with respect to the side it’s on, but I could be wrong?