Fire Event Based on Time of Day and Monitored State

I’m new to HA (coming from HomeSeer) and am struggling with creating certain automations that require the time to between a certain period and only firing when a monitored entity (lux sensor) is above a certain value.

I am using the automation GUI to try and build an automation to open the living room blinds in the morning but only when a lux sensor is above a certain value and only when the time is either after 7am (or I could also use/have tried between 7 and 10am).

I have tried using helpers as both conditions and triggers in combination with time but nothing works. In HS an automation could check the absolute state of a binary and use that as a trigger where as HA can only use a state change or crossing threshold.

I don’t really know yaml and would prefer to use GUI but I can’t see how to do this kind of conditional automation using the GUI.

Can anyone help?

trigger:
  - platform: numeric_state
    entity_id: sensor.lux
    above: 300
  - platform: time
    at: "07:00:00"
condition:
  - condition: numeric_state
    entity_id: sensor.lux
    above: 300
  - condition: time
    after: "07:00:00"
    before: "10:00:00"
action:
  - service: cover.open_cover
    target:
      entity_id: cover.living_room_blinds

If the lux sensor is above the value required before 7am, the time trigger at 7am will cause the blinds to open. Otherwise the blinds will open when the lux sensor exceeds the required value between 7am and 10am.

Perfect thank you, I was so caught up on using helpers that I didn’t think to see if the lux sensor could be directly addressed with a <> state for the automation.