Is it possible to modify or trigger lights "favorite colors" via YAML or the UI?

Is it possible to modify or trigger lights “favorite colors” via YAML or the UI ?

I’ve searched documentation and forums but couldn’t find much other than a feature request to create favorite profiles