Turn on light on ilumination and time based

I neede some help with my automation, what i wan’t is that when te ilummination is below a certan value (450) and it is between 15:00 and 23:00 then the light should turn on.

i have this so far, but know on darker days, it isn’t working becaus the ilumination stays below 450.

alias: woonkamer licht aan
description: ""
trigger:
  - platform: numeric_state
    entity_id: sensor.woonkamer_illuminance
    for:
      hours: 0
      minutes: 2
      seconds: 0
    below: 450
condition:
  - condition: time
    before: "23:59:00"
    after: "15:00:00"
    weekday:
      - sun
      - mon
      - tue
      - wed
      - thu
      - fri
      - sat
action:
  - service: scene.turn_on
    target:
      entity_id: scene.tv_kijken
    metadata: {}
mode: single

i’m a bit further, next thing it should only ones a day, if the condition’s where true it should stop checking for the right conditions, how can i do that.

below the automation so far:

alias: Woonkamer verlichting
description: ""
trigger:
  - platform: time_pattern
    minutes: "10"
condition:
  - condition: time
    before: "20:00:00"
    after: "14:50:00"
    weekday:
      - sun
      - mon
      - tue
      - wed
      - thu
      - fri
      - sat
  - condition: numeric_state
    entity_id: sensor.woonkamer_illuminance
    below: 450
action:
  - service: scene.turn_on
    target:
      entity_id: scene.tv_kijken
    metadata: {}
mode: single
alias: Woonkamer verlichting
description: ""
trigger:
  - platform: time
    at: "14:50:01"
  - platform: numeric_state
    entity_id: sensor.woonkamer_illuminance
    below: 450
condition:
  - condition: time
    before: "20:00:00"
    after: "14:50:00"
  - condition: numeric_state
    entity_id: sensor.woonkamer_illuminance
    below: 450
action:
  - service: scene.turn_on
    target:
      entity_id: scene.tv_kijken
    metadata: {}
mode: single

And what if the value is below 450 at 17:00 hour

If it falls below 450 any time between 14:50 and 20:00 then the automation will fire.

If you only want it to happen once there’s a few ways to do that, the simplest, and ugliest, is to turn it off when it runs, and have another automation that turns it on before 14:50:

action:
  - service: scene.turn_on
    target:
      entity_id: scene.tv_kijken
  - service: automation.turn_off
    target:
      entity_id: automation.woonkamer_verlichting