Wled configuration

Hi,

Please go easy I am new to HA (less than a month) and new to WLED (about 2 days!) and I am struggling with an automation.

I am trying to configure that when triggered if my LED’s are on (I have an automation to turn them on at sunset) LED’s will do the Random pattern in WLED for 5 min.

So far I can do the trigger and the condition but I have no idea how to do the ‘do random’ for 5 min.

Can anyone help / point me in the right direction.

Regards
James

Something like this should work:

  action:
  - service: light.turn_on
    entity_id: light.your_entity
    data:
      effect: random
  - delay: '00:05:00'
  - service: light.turn_off
    entity_id: light.your_entity

Might also want to add a brightness: or brightness_pct: value in the data for the light.turn_on service call.

1 Like

Thanks Tediore I will let you know how it goes

Regards