I took a different appraoch:
It transistions from 100>75 at sunset and from 75>100 at sunrise.
Might be usefull (just change the timing and use something else to trigger it)
Note that it does use the depreciated loop timer, but I put it back…
[{"id":"2c7b0b2f0fe45ff7","type":"tab","label":"Flow 2","disabled":false,"info":"","env":[]},{"id":"3c41c684b0f0b497","type":"bigtimer","z":"2c7b0b2f0fe45ff7","outtopic":"","outpayload1":"turn_on","outpayload2":"turn_off","name":"Every day from Sunset until Sunrise","comment":"","lat":"51.831092","lon":"4.335460","starttime":"5004","endtime":"5003","starttime2":0,"endtime2":0,"startoff":"1","endoff":"-2","startoff2":0,"endoff2":0,"offs":0,"outtext1":"on","outtext2":"off","timeout":1440,"sun":true,"mon":true,"tue":true,"wed":true,"thu":true,"fri":true,"sat":true,"jan":true,"feb":true,"mar":true,"apr":true,"may":true,"jun":true,"jul":true,"aug":true,"sep":true,"oct":true,"nov":true,"dec":true,"day1":0,"month1":0,"day2":0,"month2":0,"day3":0,"month3":0,"day4":0,"month4":0,"day5":0,"month5":0,"day6":0,"month6":0,"day7":"","month7":"","day8":"","month8":"","day9":"","month9":"","day10":"","month10":"","day11":"","month11":"","day12":"","month12":"","d1":0,"w1":0,"d2":0,"w2":0,"d3":0,"w3":0,"d4":0,"w4":0,"d5":0,"w5":0,"d6":0,"w6":0,"xday1":0,"xmonth1":0,"xday2":0,"xmonth2":0,"xday3":0,"xmonth3":0,"xday4":0,"xmonth4":0,"xday5":0,"xmonth5":0,"xday6":0,"xmonth6":0,"xday7":"","xmonth7":"","xday8":"","xmonth8":"","xday9":"","xmonth9":"","xday10":"","xmonth10":"","xday11":"","xmonth11":"","xday12":"","xmonth12":"","xd1":0,"xw1":0,"xd2":0,"xw2":0,"xd3":0,"xw3":0,"xd4":0,"xw4":0,"xd5":0,"xw5":0,"xd6":0,"xw6":0,"suspend":false,"random":false,"randon1":false,"randoff1":false,"randon2":false,"randoff2":false,"repeat":false,"atstart":false,"odd":false,"even":false,"x":540,"y":260,"wires":[["95abdda12a50da81"],[],[]]},{"id":"7ab8c33eb536d77f","type":"function","z":"2c7b0b2f0fe45ff7","name":"light.outside_front","func":"if ( msg.reset != true ) \n{\n if ( msg.payload.includes( \"turn_on\"))\n {\n msg.payload = {\n domain: \"light\",\n service: \"turn_on\",\n data: {\n entity_id: \"light.outside_front\",\n \"brightness_pct\": (msg.count)\n }\n };\n }\n else\n {\n if ( msg.countLowerLimitReached != true )\n {\n msg.payload = {\n domain: \"light\",\n service: \"turn_on\",\n data: {\n entity_id: \"light.outside_front\",\n \"brightness_pct\": ((100-msg.count) + 75)\n }\n };\n }\n else\n {\n msg.payload = {\n domain: \"light\",\n service: \"turn_off\",\n data: {\n entity_id: \"light.outside_front\"\n }\n };\n }\n }\n return msg;\n}","outputs":1,"noerr":0,"initialize":"","finalize":"","x":1190,"y":240,"wires":[["7826c8dc93bc799e"]]},{"id":"95abdda12a50da81","type":"looptimer","z":"2c7b0b2f0fe45ff7","duration":"1","units":"Minute","maxloops":"25","maxtimeout":"1","maxtimeoutunits":"Hour","name":"","x":800,"y":260,"wires":[["6c244f9d1c0999cc"],["29187217db5be9f1"]]},{"id":"6c244f9d1c0999cc","type":"counter","z":"2c7b0b2f0fe45ff7","name":"100>75","init":"100","step":"1","lower":"75","upper":null,"mode":"decrement","outputs":1,"x":1000,"y":240,"wires":[["7ab8c33eb536d77f"]]},{"id":"29187217db5be9f1","type":"function","z":"2c7b0b2f0fe45ff7","name":"reset counter","func":"msg.reset = true;\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":1010,"y":280,"wires":[["6c244f9d1c0999cc"]]},{"id":"7826c8dc93bc799e","type":"api-call-service","z":"2c7b0b2f0fe45ff7","name":"Light.outside front","server":"37d68302.2aabcc","version":5,"debugenabled":false,"domain":"light","service":"","areaId":[],"deviceId":[],"entityId":["light.outside_front"],"data":"","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1390,"y":240,"wires":[[]]},{"id":"8fb8d9c014277333","type":"comment","z":"2c7b0b2f0fe45ff7","name":"Softstart outdoor lamp from 100-25 % in 25 minutes","info":"","x":890,"y":160,"wires":[]},{"id":"37d68302.2aabcc","type":"server","name":"Home Assistant","version":2,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true,"heartbeat":false,"heartbeatInterval":30}]