I have a similar automation and it too is flaky if I use the Gravity’s location as reported by the (unofficial) Lucid API. This is not a knock on the unofficial status - it’s just dutifully reporting the information it sees, which can get stuck or delayed in my experience. Anecdotally I have had a more reliable GPS position overall if I turn the car’s WiFi off, even though I have an AP in the garage.
@tmichael you may want to try this to avoid false openings. since I always have my iPhone with me that has the HA app installed and connects to wireless CarPlay, I have an “And if” condition on the garage opening automation: SSID of my iPhone is LUCID_AP_xxxx