How to preserve scene brightness whe

I’m finding that scene parameters are not preserved if the state of the light is changed to “off” instead of “on”. In the simple scene below set the brightness to 255 in the scene editor, then ONLY changed the state to “off”. So if I edit the office lamp and set the brightness to 25 then turn off the lamp. Now if I run the scene the brghtness is not set to 255 like the scene, but the light stays dim as the light was when physically set.

So I’m asking can the state of a light be preserved when shutting the light off? Currently I’m running a scene from an automation, then shutting off the lights in the automation action. Which preserves the last state while turning off the light.

-Thanks

id: "1771614736363"
name: Test Scene
entities:
  light.office_lamp_3:
    min_color_temp_kelvin: 1801
    max_color_temp_kelvin: 6535
    min_mireds: 153
    max_mireds: 555
    supported_color_modes:
      - color_temp
      - hs
    color_mode: color_temp
    brightness: 255
    color_temp_kelvin: 3076
    color_temp: 325
    hs_color:
      - 27.705
      - 54.869
    rgb_color:
      - 255
      - 180
      - 115
    xy_color:
      - 0.488
      - 0.382
    friendly_name: Office Lamp
    supported_features: 32
    state: "on"
metadata:
  light.office_lamp_3:
    entity_only: true

To the best of my knowledge if a light is set to “Off” that is the only thing stored in the scene about that light.

Hence if you activate that scene, the only thing that happens is it turns the light off - no other parameters of the light are modified.

I haven’t tested all the possibilities:

  • Scenes defined in UI.
  • Scenes defined in Configuration.
  • Temporary Scenes.
  • MQTT Scenes
  • Zigbee Scenes.
  • Other integration scenes.

But I wouldn’t be surprised if they all worked that way.

Yes I believe you are correct. I just wound up with an automation that activates the scene, then turns off the lights I want off via actions.