I know this is a late reply, but I've got the same setup (brightening and dimming a bathroom light) and I've got it where it will soft start and dim out after two minutes. I got this from another post, can't remember where but it works. I am replying to this post from a computer that doesn't have AHP on it so I can't provide screen shots. Here is the setup.
D1 = Bathroom Sensor
D3 = Light Switch
Macro Name: Master Bath On
Trigger: D1 on, Between 10:00pm and 12:00am, Flag 2 off. End Trigger
Set Flag 2
Brighten D3 to 40%
End Macro
New Macro: Master Bath OFF
Trigger: D1 Off, Flag 2 on,(No time conditions). End Trigger
Delay 1 Min
Dim D3 99%
Clear Flag 2
End Macro
I set up another Macro between 12:01am and 5:30am. I was having trouble with the macro if it crossed midnight. Don't know why.
The first time you trip the macro, the light will go full bright until it Dims 99% and from that point on, it will brighten to 40%. When dimming the light by 99%, I can stand in the totally dark room and see no light from the fixtures, so in essence, it is off. This "tricks" the switch into thinking it is on 1% so it can brighten to 40% without having to turn full on then dim to 40%. Gives that soft start.
I was having trouble with the delay of the motion sensor interfering with the delay I set up in the macro so I set the macro to use the delay of the motion sensor of one minute. When it sends its off command, the macro will delay one more minute and then dim.
Hope this is what you were looking for. I works in all three of my bathrooms.