Sunwait calculates sunrise or sunset times with civil, nautical, astronomical and custom twilights, for use with Windows Task Scheduler or 'cron' on Linux.
Why do you think that https://github.com/tobias-richter/ansible-tasmota is a good alternative to sunwait