Change color of a bulb when the color of a virtual RGB bulb changes

Seems like I have done this before, but I can't figure this one out. I have a physical bulb that is RGB. I want to change it to either RED or GREEN based on a virtual bulb that will be red or green. Can anyone help? I have been all over rule machine and I am missing something.

Why not use the built in Mirror app?


Because, RED or GREEN are colors and the mirror app ignores those:

1 Like

I use [PRERELEASE] Virtual Prestaging to solve this issue. You can control the virtual bulb and the smart bulb will follow when on.

Though red and green also have hue values, which it says it will forward. The color property is just the name of the resulting color, and it's read-only.

Looks like rule machine was my route. Thanks!