Read current state and write that in a permanent scene

I am looking for something like this:
Is there a way that in an automation, I can read out the settings of a lightmodule and write that to a permanent scene?
So I set some devices vis the color remote in my sleeping room, and create a trigger for hat remote that on a keypress it will read all the lamps and store that data in the scene.
So get somehow al the needed state data from the llight entity
i would think of something like this? And probably the indents are not correct it is just the idea to get started

action: scene.create
  metadata: {}
  data:
       scene_id: slaakamersfeer
       entities: 
          light.led_controler_1_slaapkamer_bed:
                rgb_color:
                      - 255
                       - 9
                       - 0

Would this be possible?

I only have 1 room where I would like to apply this but I woul like to change the settings every few weeks depending on my mood

Action scene.create with the parameter snapshot_entities.

Plenty of threads about it here in the forum if you search.

As Magnus posted above, the only action available for that would be scene.create. Just keep in mind that the results aren’t “permanent”, they get are discarded when the integration is reloaded.

I know about snapshots. I used them and they are not good for a semi permanent solutotion where I have different ON stated White and moodcolors that I want to keep for some days.

Snapshots will not do it for me.
But then if scenes are useless in this situation, hoe do I get the setings of my light such that I can use them in a script.
So on some trigger read that setting and store that in a varialble. And in a script use that variable as a setting?

I have read plenty snapshot examples but that is not what I am looking for. I have spent days reading en testing with snapshot scenes.
I use them at the moment but quite ofthen things get messed up if the wife is pushing to fast on different on/off buttons and they get lost at power failure

alias: a a a a slaapkamer knop 2 on (witlicht aan)
description: ""
triggers:
  - domain: mqtt
    device_id: 1d0a17de2dc51168cd2d67cbd8b8e532
    type: action
    subtype: on_2
    trigger: device
conditions: []
actions:
  - if:
      - condition: state
        entity_id: input_select.slaapkamerlichtmode
        state: slaapsfeer
    then:
      - action: notify.persistent_notification
        metadata: {}
        data:
          message: slaapkmer gaan van sfeer naat wit
      - action: script.a_bewaar_slaapsfeer
        metadata: {}
        data: {}
      - action: input_select.select_option
        metadata: {}
        data:
          option: slaapwit
        target:
          entity_id: input_select.slaapkamerlichtmode
        enabled: false
  - action: scene.turn_on
    metadata: {}
    data: {}
    target:
      entity_id: scene.slaapkamer_wit
    enabled: false
  - action: light.turn_on
    metadata: {}
    data:
      brightness_pct: 100
      kelvin: 3699
    target:
      entity_id: light.led_controler_2_slaapkamer_spiegel
  - action: light.turn_on
    metadata: {}
    data:
      kelvin: 6500
      brightness_pct: 100
      transition: 25
    target:
      entity_id: light.led_controler_1_slaapkamer_bed
mode: single
alias: a a a a slaapkamer knop2 uit
description: |-
  Als sfeerlicht aan is dan bewaat de kleursettings en daarna zet licht uit.
  Bij wit licht gelijk uit zetten
triggers:
  - domain: mqtt
    device_id: 1d0a17de2dc51168cd2d67cbd8b8e532
    type: action
    subtype: off_2
    trigger: device
conditions: []
actions:
  - if:
      - condition: state
        entity_id: input_select.slaapkamerlichtmode
        state: slaapsfeer
    then:
      - action: notify.persistent_notification
        metadata: {}
        data:
          message: state is sfeer naar off via bewaar sfeerlicht
        enabled: true
      - action: script.a_bewaar_slaapsfeer
        metadata: {}
        data: {}
        enabled: true
      - action: notify.persistent_notification
        metadata: {}
        data:
          message: "sfeer snap gemaakt  "
  - action: input_select.select_option
    metadata: {}
    data:
      option: slaapuit
    target:
      entity_id: input_select.slaapkamerlichtmode
  - action: light.turn_off
    metadata: {}
    data: {}
    target:
      entity_id: light.led_controler_2_slaapkamer_spiegel
  - delay:
      hours: 0
      minutes: 0
      seconds: 1
    enabled: true
  - action: light.turn_off
    metadata: {}
    data: {}
    target:
      entity_id: light.led_controler_1_slaapkamer_bed
mode: single

I hace in total 4 scripts to handle the 4 buttons and in works okee until it goes wrong ad color settins are gone

it looks like scenes is not suited for me.
I will probably will need to set the colors in a light entity as I always have done with a script sofar.

alias: Woonkamer Ledstrip TV stand
sequence:
- data:
brightness: 150
rgb_color:
- 236
- 164
- 9
target:
entity_id: light.woonkamer_ledstrip
action: light.turn_on
mode: single

Just need to find out how to get the relevant entity values for the lamp and storthoes in my global variables that I create wit VAR addon from snarkey . I already use that for other things.

And replace the numbers in above script above for brigtness and RGB_color with the Variable.

I think that would be possible and I know those variables can be set en survive restarts also