WLED control with automation, effect, intensity, speed, brightness

Hi
actually im trying to control WLED effects with an automation. but actually it is not working.

code loocks like this.

  action:
    - service: light.turn_on
      entity_id: light.wled_haus_master
    - service: light.turn_on
      data:
        entity_id: light.wled_haus_segment_3
        effect: "Halloween"
        brightness: '255'
        speed: '255'
        intensity: '255'

i get this message in the log

While executing automation automation.halloween_timer_eingangstur_licht_an_wenn_tur_auf_oder_bewegung
21:32:12 – Automatisierung (ERROR)
HALLOWEEN - Timer Eingangstür Licht an wenn Tür auf oder Bewegung: Error executing script. Invalid data for call_service at pos 2: extra keys not allowed @ data['speed']
21:32:12 – Automatisierung (ERROR)

what is wrong??

I think you might need to use the wled.effect service rather than light.turn_on according to the docs:

The light.turn_on service might work with just the brightness but not when you are trying to also set the effect, speed, and intensity which are specific to WLED.

i changed the code to this:

  action:
    - service: light.turn_on
      entity_id: light.wled_haus_master
    - service: wled.effect
      entity_id: light.wled_haus_segment_3
      data:
        #entity_id: light.wled_haus_segment_3
        effect: "Halloween"
        brightness: 255
        speed: 255
        intensity: 255

but still the same log entry.

I got it to work on my setup by playing around in Developer Tools:

If you look at the docs and parameters listed above then brightness is not supported, this is specified as service data with the light.turn_on service:

This kind of makes sense as brightness is already catered for in light.turn_on service and the new wled_effect service is specifically for the ‘effect’ only.

ok thanks for this.
i hope it will work, we will see:

  action:
  - service: light.turn_on
    entity_id: light.wled_haus_master
  - service: light.turn_on
    data:
      entity_id: light.wled_haus_segment_3
      brightness: 255
  - service: wled.effect
    data:
      entity_id: light.wled_haus_segment_3
      effect: Halloween
      speed: 255
      intensity: 255
    entity_id: timer.eingang_kurz

An update along the way fixed this for me. I got my wled sunrise alarm working with the info below in my automation action block.

service: wled.effect
data:
  speed: 1
  effect: sunrise
  intensity: 1
target:
  entity_id: light.counter

why I cannot find the service wled.effect?

where can I find the weed.effect service?

@Oggymator
Did you resolve this?
Same here, everything works with the integration but I am missing wled services.
looking for wled.effect and it isn’t listed under services, in fact nothing starting with wled.xxxxxx

edit : OK found this:

but still wondering why it doesn’t show up in the HA config UI:

image

but it does show in dashboards: