Creating a scene and dimming towards it

Hi,

My question has 2 parts. First is, how can I create a scene with specific brightness / temperature levels?
I am quite fresh to HA + YAML configuration. I have tried to first set up the scene with UI and then edit it in the YAML. However, there are no options to select temp/brightness in UI. I get something like this:

- id: '1673874192498'
  name: Olohuone_himmennys
  entities:
    light.olohuone_lipasto:
      min_color_temp_kelvin: 2202
      max_color_temp_kelvin: 6535
      min_mireds: 153
      max_mireds: 454
      supported_color_modes:
      - color_temp
      mode: normal
      dynamics: none
      friendly_name: Lipasto
      supported_features: 40
      state: 'off'

How to add the custom brightness there?
If I google instructions I get suggestions like this:

 action:
  - data:
      entity_id: light.zooz_zen22_dimmer_v2_level
      brightness_pct: 100
    service: light.turn_on

These contain the “action” section.
And if I try to add this to my scene, I get error to the “id” level saying that: “property action is not allowed”.

So, how to actually create an automation which makes my lights to dim to a wanted state?
Thank you.