I present to you my little project.
here is a small box which contains a 5v relay, which allows you to control a 24V LED strip from the bambu interface.
For this I put a male jst socket to connect the relay to activate it. the other side of the relay a 24V power supply to power the LED strip. I'll give you the different links that I used
https://fr.aliexpress.com/item/1005003390942788.html?spm=a2g0o.order_list.order_list_main.41.60d65e5bG3T8mO&gatewayAdapt=glo2fra
https://fr.aliexpress.com/item/32952579553.html?spm=a2g0o.order_list.order_list_main.59.60d65e5bG3T8mO&gatewayAdapt=glo2fra
https://fr.aliexpress.com/item/1005005269543105.html?spm=a2g0o.order_list.order_list_main.53.21ef5e5bNlLyRg&gatewayAdapt=glo2fral
https://www.amazon.fr/dp/B0C536WGT7?psc=1&ref=ppx_yo2ov_dt_b_product_details