WLED and Prusa MK4 Sensor linking

Hey guys im a bit of a noob when it comes to any automation tasks but i really want to learn more.

I think i have bitten off more than i can chew though…

I have a prusa MK4 added to HA via PrusaLink.
Prusalink has an entity called MK4 Status, this is a sensor with these multiple attributes “idle, busy, printing, paused, finished, stopped, error, attention, ready”.

My goal is to create presets in WLED and when the printer fires a attribute say “Idle” i would like HA to fire off a preset on my WLED instance lets call it “ID1, Green_Idle”.

This singualar task seems trivial in HA but i cannot figure out how to get it to work.

This is what the simple task currently looks like and it isnt working.

alias: MK4 Status Idle
description: Change LED to green as 3D printer is Idle or Finished
trigger:
  - platform: state
    entity_id:
      - sensor.prusamk4
    attribute: Idle
condition: []
action:
  - device_id: 43538bb9b2bce8b719e5d968e7084b93
    domain: select
    entity_id: d8aa3a860f412a961c4b66fb32ac41ac
    type: select_option
    option: Green_Idle
mode: single

Once i figure this out i want to go one step further and have the automation also accept other statuses from the sensor and link them to other presets within WLED.

I would also like to add a button to the mix that can confirm the status and send WLED to resting state.