You can handle this setting in the "Calendar" menu of your TaHoma® interface.
Select a schedule or create a new one. The menu opens in which a time bar is displayed.
To link the switching time to sunrise or sunset, drag the scenario to the Sunrise icon. The scenario is now connected to sunrise and is now controlled according to these times.