Have you looked at this blueprint
Smart Light.
If you use time as the trigger say ON at 6am and off at 11pm 3% brightness. Then use night lights from 4pm till 11pm at 14% brightness. If you would lux here you can use a template binary sensor that looks at a lux sensor to see if it is below X and then use that as the state condition… is lux sensor below X then ON
Blacky ![]()