WLED Card Setup

I have my first of many<?> WLED lights setup and I’m looking how to integrate them into HA nicely.
I’m currently using a Glance card with a simple toggle to turn them on.
A press and hold pops a secondary control that give me access to brightness, warmth, and effects control via a drop down.

Is there a nicer way to display and control the WLEDs? I like the look of the light card with the brightness slider built in but I don’t see how I could integrate colour selection or effects as there doesn’t seem to be a hold action.

Hi, you could use the light-entity-card (HACS) inside a conditional card so it could show the color wheel only when wled is on.

This dashboard card available via HACS works quite nicely with WLED.
bokub/rgb-light-card: :bulb: A Lovelace custom card for RGB lights (github.com)

I’m using the ‘call service’ feature to enable various WLED presets.

1 Like

Be awesome if you could give a setup example where you’re calling service with preset.

It’s just a light.turn_on chooseing the effect you want. If you want to change the color pallet, that’s another service call using the color pallete select entity.

Welp, an example would be helpful, because I’m copying that which is in the WLED documentation into the card and it’s not working. Nor is the service call in the Dev Tools. So there’s something I’m doing wrong.

service: light.turn_on
target:
  entity_id: light.xyz
data:
  effect: foo

no different for any light

Doesn’t work from this card…

        service: light.turn_on
        target:
          entity_id: light.theater_baseboards
        data:
          effect: Chase
        icon_color: 'linear-gradient(15deg, #0250c5, #d43f8d)'

image

Well you have to use that cards documentation…

          - type: call-service
            service:  light.turn_on
            service_data:
                entity_id: light.theater_baseboards
                effect: Chase
            icon_color: 'linear-gradient(15deg, #0250c5, #d43f8d)'
1 Like

Ah, I see that worked. Thanks petro.

There is no need to obfuscate ID’s. These are only used internally and mean nothing outside of your instance of ESPHome.

1 Like