What service changes the color of a light bulb?

I have a Magic Home RGB Light Bulb that I want to control with my stream deck. I can control the color of the bulb from Home Assistant, but I don’t know what service changes the color to call it from my Stream Deck.

Action then Light Turn on, in visual editor

Or you can do it via yaml two ways.

action:
  - metadata: {}
    data:
      effect: Magenta
    target:
      device_id: 6abxxxxxxxxxxxxxx1e07c
    action: light.turn_on
action:
  - metadata: {}
    data:
      color_name: yellow
      brightness_pct: 100
    target:
      entity_id: light.front_porch
    action: light.turn_on
1 Like