Homeseer HSM200 - Automation Help

I’m trying to write an automation with a condition to check if the light is on with the color red.

How can I do this?