Custom flow pattern (yeelight)

Hello, I have created a light group (yeelight) and want to create a custom flow so that both lights have same color / pattern. I have tested with following code and can see it does not works.

It only works when i use that on individual light i.e. downstairs light.

entity_id: light.upstairs_light
action: stay
transitions:
  - TemperatureTransition:
      - 1900
      - 1000
      - 80
  - TemperatureTransition:
      - 1900
      - 1000
      - 10

Thanks

hi, can anyone please point me to right direction. thanks