How to make a button working with two integrations?

Hello,

As you can see on this screenshot, i have a zeegbee RGB light which i can command with HAss.
My problem : this light is also connected on a relay on another integration1 and i would like the switch to put on or off the relay instead of sending a zigbee command wich will be used only to change the color.

I didn’t find in the documentation how to change it by code or UI.

Could anybody help me find this doc or tell me if it is (im)possible ?

Thanks for your reading.

Regards.

(1) a wall switch, integrated with a HACS integration - GCE IPX800 for information