WLED preset missing in 2021.12.0

After upgrading to HA 2021.12.0 the service wled.preset is missing. I used to use Node Red with this service to trigger certain patterns at different times and I don’t see a way around this at the moment.

Someone else brought up this very issue in the beta only for the thread to get locked. Now that 2021.12.0 is out does anyone have any thoughts on how to work around the missing preset function?

You use the select service instead now.

  - service: select.select_option 
    target:
      entity_id: select.your_wled_preset_entity # look for this in the device integration page or developer tools states. 
    data:
      option: '{{ states(''input_select.schody_preset'') }}'
2 Likes

I had this same issue, but you also have to change the word ‘preset’ to ‘option’.

2 Likes

Oops. Sorry. Corrected above.

Thank you, once you guys steered me towards the “select.select_option” service I was able to figure it out. I also found this thread that was quite helpful:

I also figured out the proper JSON format for Node Red. As an example with my entity being named light.stairwled and one of my presets named “Wipe” I was able to call the preset using this method:

{
    "entity_id": "select.stairwled_preset",
    "option": "Wipe"
}