Lighting Automation for Sunrise and Sunset Errors Out

You need to set your geolocation. The location you saw in settings is the presence sensor.

You edit your Home location and from there you can set your geolocation.