This is my First uploaded profile here.
Hope you gone use and like it.
You must have Tasker, Auto Input and AutoTools installed on your device.
I use this profile on my One Plus 3 so you have eventually adjust the Auto Input x y values.
Now a short description what i did.
1. I am using AutoTools securesettings to wake my device.
2.Auto Input Global Action to open the power dialog.
Action -> Power Dialog
Timeout-> 1 sec.
3. Auto Input to tap the Reboot button.
Auto Input Action
Type: Text
Value: Reboot
Action: Click
Is Tasker Action:false
Check Screen state: false
Timeout-> 1 sec.
4. Wait 2 sec.
5. Auto Input to tap the Ok button.
Auto Input Action
Type: Point
Value: 870,1143
Action: Click
Is Tasker Action:false
Check Screen state: false
Timeout: 1 sec
A easy way to find the values in the last action is to enable the developer settings on your phone and scroll down to the input section and enable Pointer location.

Reboot profile without Root 1.1
A Reboot profile that will be trigerd every Night at 3 am.