When I try to create a SmartApp I see a notice that Sunrise and Sunset aren’t available until location is set but I’ve set the location. I’ve seen other related posts but not recently and nothing I’ve read seems to help. I had this working for an automation yesterday but now I can’t use sunrise/sunset. Both the Classic and New app show the problem.
First thing you can try, change your location to a location in a different time zone, click save, wait 1 minute, change it back to your correct location and click save. If that does not resolve the issue, report back and we can try another trick.
I did that and was able to create the automation. Hopefully this won’t keep happening.