I'm using at the moment this flow:
[{"id":"3e392f9e.dd512","type":"tab","label":"Flow 2","disabled":false,"info":""},{"id":"ef095062.ac324","type":"server-state-changed","z":"3e392f9e.dd512","name":">= 40000 lux for 5 min","server":"86ae6045.37d9d","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"sensor.hue_outdoor_motion_sensor_1_light_level","entityidfiltertype":"exact","outputinitially":false,"state_type":"num","haltifstate":"40000","halt_if_type":"num","halt_if_compare":"gte","outputs":2,"output_only_on_state_change":true,"for":"5","forType":"num","forUnits":"minutes","ignorePrevStateNull":true,"ignorePrevStateUnknown":true,"ignorePrevStateUnavailable":true,"ignoreCurrentStateUnknown":true,"ignoreCurrentStateUnavailable":true,"x":160,"y":80,"wires":[["a640df68.83719"],[]]},{"id":"c34c9d98.ad42","type":"server-state-changed","z":"3e392f9e.dd512","name":"< 40000 lux for 25 min","server":"86ae6045.37d9d","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"sensor.hue_outdoor_motion_sensor_1_light_level","entityidfiltertype":"exact","outputinitially":false,"state_type":"num","haltifstate":"40000","halt_if_type":"num","halt_if_compare":"lt","outputs":2,"output_only_on_state_change":true,"for":"25","forType":"num","forUnits":"minutes","ignorePrevStateNull":true,"ignorePrevStateUnknown":true,"ignorePrevStateUnavailable":true,"ignoreCurrentStateUnknown":true,"ignoreCurrentStateUnavailable":true,"x":160,"y":500,"wires":[["bd3aa6b7.82cf98"],[]]},{"id":"23df8600.d0327a","type":"api-current-state","z":"3e392f9e.dd512","name":"Automations sun protection enabled?","server":"86ae6045.37d9d","version":1,"outputs":2,"halt_if":"true","halt_if_type":"bool","halt_if_compare":"is","override_topic":false,"entity_id":"input_boolean.zon_bescherming_rolluiken","state_type":"habool","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":250,"y":180,"wires":[["9de7fe17.ef204","d94ece80.25308","1439e480.93dcec"],[]]},{"id":"2235e111.0941ae","type":"api-current-state","z":"3e392f9e.dd512","name":"Automations enabled?","server":"86ae6045.37d9d","version":1,"outputs":2,"halt_if":"true","halt_if_type":"bool","halt_if_compare":"is","override_topic":false,"entity_id":"input_boolean.automatiseringen_enabled","state_type":"habool","state_location":"","override_payload":"none","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":580,"y":80,"wires":[["23df8600.d0327a"],[]]},{"id":"3061ee63.e6b2f2","type":"api-call-service","z":"3e392f9e.dd512","name":"Close cover zijraam","server":"86ae6045.37d9d","version":1,"debugenabled":false,"service_domain":"tahoma","service":"set_cover_position_low_speed","entityId":"cover.06_zijraam","data":"{\"entity_id\":\"cover.06_zijraam\",\"position\":0}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":610,"y":260,"wires":[[]]},{"id":"a640df68.83719","type":"time-range-switch","z":"3e392f9e.dd512","name":"","lat":"51.81828","lon":"4.78229","startTime":"08:00","endTime":"21:00","startOffset":0,"endOffset":0,"x":370,"y":80,"wires":[["2235e111.0941ae"],[]]},{"id":"9de7fe17.ef204","type":"api-current-state","z":"3e392f9e.dd512","name":"Zijraam enabled?","server":"86ae6045.37d9d","version":1,"outputs":2,"halt_if":"true","halt_if_type":"bool","halt_if_compare":"is","override_topic":false,"entity_id":"input_boolean.zon_bescherming_rolluik_zijraam","state_type":"habool","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":350,"y":260,"wires":[["3061ee63.e6b2f2"],[]]},{"id":"7b567c82.672994","type":"api-call-service","z":"3e392f9e.dd512","name":"Close cover computerkamer","server":"86ae6045.37d9d","version":1,"debugenabled":false,"service_domain":"tahoma","service":"set_cover_position_low_speed","entityId":"cover.04_computer_kamer","data":"{\"entity_id\":\"cover.04_computer_kamer\",\"position\":0}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":640,"y":320,"wires":[[]]},{"id":"d94ece80.25308","type":"api-current-state","z":"3e392f9e.dd512","name":"Computer kamer enabled?","server":"86ae6045.37d9d","version":1,"outputs":2,"halt_if":"true","halt_if_type":"bool","halt_if_compare":"is","override_topic":false,"entity_id":"input_boolean.zon_bescherming_rolluik_computer_kamer","state_type":"habool","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":360,"y":320,"wires":[["7b567c82.672994"],[]]},{"id":"f2a334a1.850b88","type":"api-call-service","z":"3e392f9e.dd512","name":"Close cover Hal 1e etage","server":"86ae6045.37d9d","version":1,"debugenabled":false,"service_domain":"tahoma","service":"set_cover_position_low_speed","entityId":"cover.05_hal_1e_etage","data":"{\"entity_id\":\"cover.05_hal_1e_etage\",\"position\":0}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":650,"y":380,"wires":[[]]},{"id":"1439e480.93dcec","type":"api-current-state","z":"3e392f9e.dd512","name":"Hal 1e etage enabled?","server":"86ae6045.37d9d","version":1,"outputs":2,"halt_if":"true","halt_if_type":"bool","halt_if_compare":"is","override_topic":false,"entity_id":"input_boolean.zon_bescherming_rolluik_hal_1e_etage","state_type":"habool","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":340,"y":380,"wires":[["f2a334a1.850b88"],[]]},{"id":"bd3aa6b7.82cf98","type":"time-range-switch","z":"3e392f9e.dd512","name":"","lat":"51.81828","lon":"4.78229","startTime":"08:00","endTime":"21:00","startOffset":0,"endOffset":0,"x":390,"y":500,"wires":[["118e5572.08f7cb"],[]]},{"id":"118e5572.08f7cb","type":"api-current-state","z":"3e392f9e.dd512","name":"Automations enabled?","server":"86ae6045.37d9d","version":1,"outputs":2,"halt_if":"true","halt_if_type":"bool","halt_if_compare":"is","override_topic":false,"entity_id":"input_boolean.automatiseringen_enabled","state_type":"habool","state_location":"","override_payload":"none","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":600,"y":500,"wires":[["cfea96c0.ce2428"],[]]},{"id":"cfea96c0.ce2428","type":"api-current-state","z":"3e392f9e.dd512","name":"Automations sun protection enabled?","server":"86ae6045.37d9d","version":1,"outputs":2,"halt_if":"true","halt_if_type":"bool","halt_if_compare":"is","override_topic":false,"entity_id":"input_boolean.zon_bescherming_rolluiken","state_type":"habool","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":270,"y":600,"wires":[["31906929.b488a6","cc252dda.cad75","3dcc6759.b445b8"],[]]},{"id":"9f1a338a.6600f","type":"api-call-service","z":"3e392f9e.dd512","name":"Open cover zijraam","server":"86ae6045.37d9d","version":1,"debugenabled":false,"service_domain":"tahoma","service":"set_cover_position_low_speed","entityId":"cover.06_zijraam","data":"{\"entity_id\":\"cover.06_zijraam\",\"position\":100}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":570,"y":660,"wires":[[]]},{"id":"31906929.b488a6","type":"api-current-state","z":"3e392f9e.dd512","name":"Zijraam enabled?","server":"86ae6045.37d9d","version":1,"outputs":2,"halt_if":"true","halt_if_type":"bool","halt_if_compare":"is","override_topic":false,"entity_id":"input_boolean.zon_bescherming_rolluik_zijraam","state_type":"habool","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":310,"y":660,"wires":[["9f1a338a.6600f"],[]]},{"id":"9b29b120.e6891","type":"api-call-service","z":"3e392f9e.dd512","name":"Open cover computerkamer","server":"86ae6045.37d9d","version":1,"debugenabled":false,"service_domain":"tahoma","service":"set_cover_position_low_speed","entityId":"cover.04_computer_kamer","data":"{\"entity_id\":\"cover.04_computer_kamer\",\"position\":100}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":600,"y":720,"wires":[[]]},{"id":"cc252dda.cad75","type":"api-current-state","z":"3e392f9e.dd512","name":"Computer kamer enabled?","server":"86ae6045.37d9d","version":1,"outputs":2,"halt_if":"true","halt_if_type":"bool","halt_if_compare":"is","override_topic":false,"entity_id":"input_boolean.zon_bescherming_rolluik_computer_kamer","state_type":"habool","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":320,"y":720,"wires":[["9b29b120.e6891"],[]]},{"id":"7d87be18.4d2e1","type":"api-call-service","z":"3e392f9e.dd512","name":"Open cover hal 1e etage","server":"86ae6045.37d9d","version":1,"debugenabled":false,"service_domain":"tahoma","service":"set_cover_position_low_speed","entityId":"cover.05_hal_1e_etage","data":"{\"entity_id\":\"cover.05_hal_1e_etage\",\"position\":100}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":610,"y":780,"wires":[[]]},{"id":"3dcc6759.b445b8","type":"api-current-state","z":"3e392f9e.dd512","name":"Hal 1e etage enabled?","server":"86ae6045.37d9d","version":1,"outputs":2,"halt_if":"true","halt_if_type":"bool","halt_if_compare":"is","override_topic":false,"entity_id":"input_boolean.zon_bescherming_rolluik_hal_1e_etage","state_type":"habool","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":300,"y":780,"wires":[["7d87be18.4d2e1"],[]]},{"id":"86ae6045.37d9d","type":"server","name":"Home Assistant","addon":true}]
There is also another requirement that every X minutes there should be a repeat signal of closing the covers (when still the lux is above the 40.000 lux).
I'm thinking about setting a flow variable "sun_protection" in flow to on and off. Then checking every x minutes if this flow variable is on then also closing the covers.