Sleep Timer Widget

You could create an automation in Hue Essentials which starts “externally”. Then add a switch off lights action with a specified fade time. After saving the automation, you can use it in a widget like this: Start an automation from a widget