I have a bulb(A) , witch is driven by the motion sensor, with random color.
The bulb "B" it's continously running.
What I want to do it's ewery time when bulb A change the color, the B bulb to change in the same color, but I want only the color without level.
I tried with mirror app, but the app copy the leve to.
PS: Before to start the topic I search, but I don't find anything. Please forgive me for mistakes.
Might be able to do a rule and queue off of Hue and Saturation attribute of the primary bulb and then change the Hue and Saturation of the secondary bulb. If the bulb driver properly handles hue and saturation, then the hue and saturation should change (and you should see that in the attributes).
Color is a function of Hue, Saturation, and Lightness, as exemplified in the HSL color wheel that I've inserted below. As indicated by @djgutheinz, you can use setHue() and setSaturation() commands in Rule Machine or your own app, to mirror the Hue and Saturation from one Yeelight bulb to another.
However, be aware that Hue and Saturation are insufficient descriptors of color. The color achieved with HSL values of (100,100,100) will be different than (100,100,10).