Single slider for RGB light (Xiaomi Gateway)

Hi,

Has anyone managed to control an RGB light (in my case of the Xiaomi Gateway light) with a single slider (for the color selection)?

I am looking for a solution that doesn’t require to tap on the light name and select the colour in the submenu.

There is an interesting approach (in Java) discussed here:

I was wondering if someone already did something similar.

Thanks!