I cant dimming Ikea tradfri

Can anyone help me i am new to this …this is my first try what am i doing wrong i have a Ikea Gateway but a ConBee II is on its way to me.
Thank you for all help i can get Greeting froom Cylle
choose:

  • conditions:
    • condition: time
      before: ‘21:30:00’
      weekday:
      • mon
      • tue
      • wed
      • thu
      • fri
      • sat
      • sun
        after: ‘21:30:00’
        sequence:
    • service: light.turn_on
      data:
      transition: 2
      brightness_pct: 1
      target:
      entity_id:
      - light.lampa_hallen
      - light.tradfri_bulb_3
      - light.lampa_2
    • service: light.turn_off
      data:
      transition: 2
      target:
      entity_id:
      - light.lampa_2
      - light.tradfri_bulb_3
      - light.lampa_hallen
      choose:
  • conditions:
    • condition: time
      weekday:
      • mon
      • tue
      • wed
      • thu
      • fri
      • sat
      • sun
        after: ‘05:00:00’
        before: ‘05:00:00’
        sequence:
    • service: light.turn_on
      data:
      transition: 2
      brightness_pct: 100
      target:
      entity_id:
      - light.lampa_2
      - light.tradfri_bulb_3
      - light.lampa_hallen
    • service: light.turn_off
      data: {}
      target:
      entity_id:
      - light.lampa_2
      - light.tradfri_bulb_3
      - light.lampa_hallen

You should format the code properly so it can be read by putting three backticks (```) on the lines before and after so it will look like this:

Here is the code

As it stands all the indentation is broken so your code cannot be understood easily.

Thank you i fixed it now :slight_smile:

no you didn’t . ( ) is 3 backticks ... then your code, and then after the code, also 3 bacticks ( ) … anyway if it’s your fist time trying to make an automation, a good tip is to start with a basic function and build on from there, and search topics with similar issues "automations / turn on/of light " etc … , again start simple with turning on a light, learn how it works, try to read/understand the code and “setup” of same