Time Ranges based on sun entity

Hi to all

A simple question… how to include an interval in the automation under described in order to have something like : from 30 minutes before sunset untill 1 hour after sunrise ?

image

By Pet