It only works when the yr sensor changes value

Hi
I have a lamp that turns blue when the temperature is below 4 degrees, but it only works when the yr sensor changes value.
My idea is that when I get up, the light turns on and should turn blue if there is frost outside, it can be slippery on the road

Make an automation that turns the light blue when you turn on the switch for the light.

I have an automation that turns on the light, so it should also see if the temp is below 4 degrees.

    - alias: "Frostvejr"
      trigger:
         platform: numeric_state
        entity_id: sensor.vejr_temperature
        below: 4.0
      action:
        service: scene.turn_on
        entity_id: scene.frost_pa_vej

`scene
  - name: Frost på vej
    entities:
       light.spisebord:
         state: on
         brightness: 204
         rgb_color: [18,27,255]

Yes. ALso, fyi use </> button in the text editor to display yaml correctly. The way you posted it is unreadable if people were to help you debug issues.