Choose colour or scene by automation

I have some Yeelight GU10 colour lights which I would like to change by a smart switch.

I mostly use the Xiaomi mi home app but also have the Yeelight app.

How can I for example:

Choose a pre-selected colour of the light with the smart switch?