Turning ON or Off a smart plug at sunrise or sunset

Hello forum,
I still haven’t figured out how to use ‘Hue Essentials’ to turn a smart plug on or off at sunrise or sunset.
I hope for your expertise.
Best regards
Alfred Kraemer