WLED intensity

Team

there has been some changes apparantly to the WLED integration wled.effect service is gone etc…

Could you help me with the right WLED config for setting intensity? It used to work now I have to comment it out

action:
    - service: light.turn_on
      target:
        entity_id: light.wled_basement_desk
      data:
        effect: Rainbow
        #        intensity: 150
        speed: 30
action:
  - service: light.turn_on
    target:
      entity_id: light.fairy
    data:
      effect: Blink
  - service: number.set_value
    target:
      entity_id: number.fairy_intensity
    data:
      value: '150'
  - service: number.set_value
    target:
      entity_id: number.fairy_speed
    data:
      value: '50'
2 Likes

Thanks for this. The WLED documentation is pretty unclear about these recent changes. But I guess I just don’t “get it”. So, now to make a call to a WLED device, set the effect, speed, intensity and reverse (as I do in many of my automations), I have went from ONE service call with 8 lines of YAML to FOUR service calls with 20 lines of YAML! And to me, it is much harder to read as well.

I’m sure the devs have their reasons (probably to eventually take these YAML options away as well), but this one sure leaves me baffled as to why these need to be standalone entities and not attributes.

I have a LOT of automations to rewrite with more than two dozen WLED installs in my instance.

I hear you, devs must have had some good reason for this as you say.

I have several strips that are segmented and have never found writing automations easy or friendly. Since the introduction of presets, that’s all I use. I find it a lot easier to set a scene using wled’s web interface.

Is the WLED preset the same as the HA profile? Because

action: light.turn_on
target:
  entity_id:
    - light.wled
data:
  profile: mywaves

doesn’t work for me, where mywaves is the name I gave to the WLED preset.

Presets are called by number. Go to the wled web gui, the number next to the preset is what you call.

image