Yeelight Color Bulb

Hello,

i made a automation with a yeelight color bulb.
in the action part you can put extra info in the Service data.
in here you can set the brightness and color which does work:

brightness: 50
rgb_color:
  - 100
  - 100
  - 50 

in the entity list it shows more options to chose from too, but i can not get the Effects to trigger.

min_mireds: 153
max_mireds: 588
effect_list:
  - Strobe color
  - Police
  - Christmas
  - RGB
  - Random Loop
  - Fast Random Loop
  - LSD
  - Slowdown
  - Night Mode
  - Date Night
  - Movie
  - Sunrise
  - Sunset
  - Romance
  - Happy Birthday
  - Disco
  - Strobe epilepsy!
  - Alarm
  - Police2
  - WhatsApp
  - Facebook
  - Twitter
  - Home
  - Candle Flicker
  - Slow Temp
  - Stop
brightness: 8
color_temp: 236
hs_color:
  - 26.736
  - 30.74
rgb_color:
  - 255
  - 211
  - 176
xy_color:
  - 0.407
  - 0.361
flowing: false
music_mode: false
friendly_name: Night Light
supported_features: 63

Is it a diffrent command in HA then effect_list to call a function?

Should be:

- service: light.turn_on
  entity_id: light.your_light
  data:
    effect: 'Disco'

Other options are listed here: https://www.home-assistant.io/integrations/light/#service-lightturn_on

1 Like

Thank you Tom,

all i needed to add in the Automation page in the Service Data box was:
effect: ‘Disco’

That did the trick!

1 Like