I know this is long ago, but this could be an alternative way of doing it: MQTT Hue Scene Selector · GitHub
Here the automation changes between Hue Scenes, so you can create Hue scenes for each trigger in the Hue app instead. This might even be a better way to do it because then you can change the brightness and color for each lamp.
I did not find a intuitive way of changing color of the light collection without having to type in hex code, the blueprint templating doesnt allow a color picker, so I think this might be the best solution.