Thank you for sharing a working solution. HA forums have a lot of good people just like R2R forums, and I knew it could be done I just didn't know how. I actually copied the above and got it working in my instance as well, might use this down the road.
Funny enough HA actually got me back into reefkeeping 3ish years ago, there was a long thread where someone was using HA exclusively to control multiple tanks. I decided shortly thereafter the reliability needed with a controller wasn't going to allow me to use HA (though it can be done) and I think what you have (both reefpi and HA) is a happy medium for both reliability and 'extras'
worst case scenario if your HA instance fails, automation doesn't run, etc is the sunrise/sunset stays the same as the day prior right?
That's correct. Reef-PI still controls everything. In this case, Home Assistant is only changing the sunrise and sunset times set within Reef-PI. If HA goes down, or I lose connection between the 2, then reef-pi still functions as it would if I didn't use HA.