Blinds close on time and if LX is above 40,000

I have an automation thats is working most of the time.
At 2pm the outdoor blinds come down IF the lx is above 40,000.

The problem is, if at 2pm there is a cloud for a few minutes, the blinds will not come down.

Is there a way of setting this up so it can check easily in say half hour intervals?
My yaml is

alias: Close Balcony Blinds
description: ""
trigger:
  - platform: time
    at: "14:00:00"
condition:
  - condition: numeric_state
    entity_id: sensor.solar_lux
    above: 40000
action:
  - device_id: xxxdadc5884904860f6437cef3aa1b
    domain: cover
    entity_id: cover.blind_lr
    type: close
mode: single

This is not Blueprint related at all, but I can help.

Think about it differently.

Look the lux value to fall below ‘x’ for some time period as a trigger.

If it does push that thru a condition that it’s after a certain time and before a later time.

Add another condition that the blind is open to stop multiple triggers.

Then If that passes, do your thing.

You need to restate the problem. I think you want the blinds to come down from 2pm onwards if it’s bright, yes?

Use two triggers, one for 2pm, one for bright; and matching conditions.

The triggers (OR) fire when it becomes bright and at 2pm; the conditions (AND) make sure both are true before closing the blinds.

alias: Close Balcony Blinds
description: ""
trigger:
  - platform: time
    at: "14:00:00"
  - platform: numeric_state
    entity_id: sensor.solar_lux
    above: 40000
condition:
  - condition: time
    after: "13:59:59"
  - condition: numeric_state
    entity_id: sensor.solar_lux
    above: 40000
action:
  - device_id: xxxdadc5884904860f6437cef3aa1b
    domain: cover
    entity_id: cover.blind_lr
    type: close
mode: single

And as @Sir_Goodenough said, this isn’t blueprint related. Please remove that category and add “automations” instead.

Thanks guys, I will give that a go.
How would I adding to get blinds up after sundown into this?
Tried to move to Automations but cant find the heading sorry.

Personally, I’d do it with a separate automation. You could combine into one using templated actions, choose etc, but it’s likely you’ll want to make tweaks and add more complication: having separate simple automations makes this easier.

alias: Open Balcony Blinds
description: ""
trigger:
  - platform: state
    entity_id: sun.sun
    to: "below_horizon"
action:
  - device_id: xxxdadc5884904860f6437cef3aa1b
    domain: cover
    entity_id: cover.blind_lr
    type: open
mode: single

The right approach is to close the blinds not with a time of day trigger, but a trigger of numeric state above 40000 for half an hour or some other specified time.

You don’t know the use case, though. It could be related to sun angle — regardless of the brightness, the sun might not come through the windows with the blinds until 2pm.

Agreed that time is probably not the prime metric though, and a combination of sun azimuth and elevation might be better, in conjunction with the illuminance reading.