There is Samsung Bixby Routine on my device with Android 12 that alarms based on location but for it to work device location should always be on. While most of the time I keep it off.
I'm looking for an app that allows me to choose a city or input a coordinate for its sunset/sunrise time calculation.