Dimming light indenpendent of on/off status?

Hi,

I want to dim the lights in the evening to give a visual reminder to go to bed.
So call the light every 15 min and turn down the brightness.

[{"id":"6182a9ec0f03793e","type":"comment","z":"a1fb37dfc62562f4","name":"Wochentags abends schlaf reminder","info":"","x":280,"y":660,"wires":[]},{"id":"5390b24f1d0ec4a8","type":"bigtimer","z":"a1fb37dfc62562f4","outtopic":"","outpayload1":"on","outpayload2":"off","name":"Big Timer","comment":"","lat":0,"lon":0,"starttime":"1320","endtime":"1320","starttime2":0,"endtime2":0,"startoff":"0","endoff":"0","startoff2":0,"endoff2":0,"offs":0,"outtext1":"","outtext2":"","timeout":1440,"sun":false,"mon":true,"tue":true,"wed":true,"thu":true,"fri":false,"sat":false,"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":0,"month7":0,"day8":0,"month8":0,"day9":0,"month9":0,"day10":0,"month10":0,"day11":0,"month11":0,"day12":0,"month12":0,"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":0,"xmonth7":0,"xday8":0,"xmonth8":0,"xday9":0,"xmonth9":0,"xday10":0,"xmonth10":0,"xday11":0,"xmonth11":0,"xday12":0,"xmonth12":0,"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":true,"odd":false,"even":false,"x":200,"y":740,"wires":[["8a601b2134cadde3"],[],[]]},{"id":"8a601b2134cadde3","type":"api-call-service","z":"a1fb37dfc62562f4","name":"","server":"bea192a0.36665","version":5,"debugenabled":false,"domain":"light","service":"turn_on","areaId":[],"deviceId":[],"entityId":["light.bedroom_osram1_0x7cb03eaa00b0f1b7"],"data":"{\"brightness_pct\":80}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":490,"y":720,"wires":[["09e30707a83d7bc9"]]},{"id":"09e30707a83d7bc9","type":"delay","z":"a1fb37dfc62562f4","name":"","pauseType":"delay","timeout":"15","timeoutUnits":"minutes","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"allowrate":false,"outputs":1,"x":770,"y":620,"wires":[["f70db1323a2440d5"]]},{"id":"75f46e43451e2a6a","type":"api-call-service","z":"a1fb37dfc62562f4","name":"","server":"bea192a0.36665","version":5,"debugenabled":false,"domain":"light","service":"turn_on","areaId":[],"deviceId":[],"entityId":["light.osram_weis_level_light_color_on_off"],"data":"{\"brightness_pct\":60}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":770,"y":760,"wires":[["2ed99b497afe40ca","3cfb2cdd63c34514"]]},{"id":"2ed99b497afe40ca","type":"delay","z":"a1fb37dfc62562f4","name":"","pauseType":"delay","timeout":"15","timeoutUnits":"minutes","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"allowrate":false,"outputs":1,"x":1050,"y":620,"wires":[["cf4705e69d3599f9"]]},{"id":"2348fa9abe54f31b","type":"api-call-service","z":"a1fb37dfc62562f4","name":"","server":"bea192a0.36665","version":5,"debugenabled":false,"domain":"light","service":"turn_on","areaId":[],"deviceId":[],"entityId":["light.osram_weis_level_light_color_on_off"],"data":"{\"brightness_pct\":40}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1050,"y":760,"wires":[["a488fe3512fca35b","e82560ceb8edfe5c"]]},{"id":"a488fe3512fca35b","type":"delay","z":"a1fb37dfc62562f4","name":"","pauseType":"delay","timeout":"15","timeoutUnits":"minutes","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"allowrate":false,"outputs":1,"x":1330,"y":620,"wires":[["dcb54e2ee370a671"]]},{"id":"085400c2d5f5b814","type":"api-call-service","z":"a1fb37dfc62562f4","name":"","server":"bea192a0.36665","version":5,"debugenabled":false,"domain":"light","service":"turn_on","areaId":[],"deviceId":[],"entityId":["light.osram_weis_level_light_color_on_off"],"data":"{\"brightness_pct\":20}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1330,"y":760,"wires":[["bfdaf7b12a3c8698"]]},{"id":"3cfb2cdd63c34514","type":"api-call-service","z":"a1fb37dfc62562f4","name":"","server":"bea192a0.36665","version":5,"debugenabled":false,"domain":"notify","service":"mobile_app_fig_lx11","areaId":[],"deviceId":[],"entityId":[],"data":"{\t    \"title\": \"evening dimming weekdays1\",\t    \"message\":\"timer called at {{now().strftime('%H:%M')}}\"\t\t}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":820,"y":880,"wires":[[]]},{"id":"e82560ceb8edfe5c","type":"api-call-service","z":"a1fb37dfc62562f4","name":"","server":"bea192a0.36665","version":5,"debugenabled":false,"domain":"notify","service":"mobile_app_fig_lx11","areaId":[],"deviceId":[],"entityId":[],"data":"{\t    \"title\": \"evening dimming weekdays2\",\t    \"message\":\"light called at {{now().strftime('%H:%M')}}\"\t\t}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1100,"y":880,"wires":[[]]},{"id":"bfdaf7b12a3c8698","type":"api-call-service","z":"a1fb37dfc62562f4","name":"","server":"bea192a0.36665","version":5,"debugenabled":false,"domain":"notify","service":"mobile_app_fig_lx11","areaId":[],"deviceId":[],"entityId":[],"data":"{\t    \"title\": \"evening dimming weekdays3\",\t    \"message\":\"timer called at {{now().strftime('%H:%M')}}\"\t\t}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1400,"y":880,"wires":[[]]},{"id":"f70db1323a2440d5","type":"api-current-state","z":"a1fb37dfc62562f4","name":"light.bedroom_osram1","server":"bea192a0.36665","version":3,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","entity_id":"light.bedroom_osram1_0x7cb03eaa00b0f1b7","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":760,"y":680,"wires":[["75f46e43451e2a6a"],[]]},{"id":"cf4705e69d3599f9","type":"api-current-state","z":"a1fb37dfc62562f4","name":"light.bedroom_osram1","server":"bea192a0.36665","version":3,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","entity_id":"light.bedroom_osram1_0x7cb03eaa00b0f1b7","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":1060,"y":680,"wires":[["2348fa9abe54f31b"],[]]},{"id":"dcb54e2ee370a671","type":"api-current-state","z":"a1fb37dfc62562f4","name":"light.bedroom_osram1","server":"bea192a0.36665","version":3,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","entity_id":"light.bedroom_osram1_0x7cb03eaa00b0f1b7","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":1340,"y":680,"wires":[["085400c2d5f5b814"],[]]},{"id":"bea192a0.36665","type":"server","name":"Home Assistant","version":5,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":false,"cacheJson":true,"heartbeat":false,"heartbeatInterval":"30","areaSelector":"friendlyName","deviceSelector":"friendlyName","entitySelector":"friendlyName","statusSeparator":"at: ","statusYear":"hidden","statusMonth":"short","statusDay":"numeric","statusHourCycle":"h23","statusTimeFormat":"h:m","enableGlobalContextStore":true}]

However when I go to bed before the last dimming node is called and I have the light shut of by my “going to bed” routine, which works until the last dimming node is called.
I put some current state nodes before each dimming call, but somehow they are ignored and the light turns on anyway.

So ideally I could just call a dimming action without needting to turn on the light.
What would be a smart way to solve this?

Cheers.

P.S. Just noticing: the big timer is set to 22:00 however you can see that the first node was called at 11:55AM, how can that even happen?