Hello Zhang, I hope you're doing well!
The Zigbee 3.0 stack and the Zigbee HA stack are compatible, so you should be able to work with a Zigbee 3.0 Base device and your HA end device.
The ColorDimmerSwitch device is acting as a commissioner of the light devices, so it can control them.
May I ask, what is your final application? If the ColorDimmerSwitch is not working out for you, I would recommend you to try with the ColorSceneController instead, included in the JN-AN-1219 application note.
Please let me know if you have any further questions.
Best regards,
Sebastian