Home Assistant Automations

Hey @borski - just checking to see if they are any API changes/improvements with the latest updates Lucid has been pushing. I saw the last update was June 15th. I don't have my Gravity yet, but I'm looking forward to clone my various HA automation tasks from Tesla/Teslamate once I get my Lucid account. Thanks!
 
looking forward to clone my various HA automation tasks from Tesla/Teslamate once I get my Lucid account. Thanks!
If you used Teslamate before, you might check Lucidlogger / Teslalogger. You can import all data from Teslamate and continue using Teslalogger / Lucidlogger with your Gravity.

 
If you used Teslamate before, you might check Lucidlogger / Teslalogger. You can import all data from Teslamate and continue using Teslalogger / Lucidlogger with your Gravity.

Thank you!! I was wondering if an alternative existed. Teslamate is awesome..
 
Hey @borski - just checking to see if they are any API changes/improvements with the latest updates Lucid has been pushing. I saw the last update was June 15th. I don't have my Gravity yet, but I'm looking forward to clone my various HA automation tasks from Tesla/Teslamate once I get my Lucid account. Thanks!
Lots of API changes. What specific things are you looking to do?
 
Depends on what's available :)

Right now, I just have basic stuff for opening the garage based on travel direction and distance, charge and tire rotation reminders, and software update notifications.. all of which looks to be covered based on the current API.

I'm interested in Halo and if we could remotely grab images. Would be kinda cool to build a home Lucid NVR, feed images in to my existing image processing pipeline for detects, etc.
 
Depends on what's available :)

Right now, I just have basic stuff for opening the garage based on travel direction and distance, charge and tire rotation reminders, and software update notifications.. all of which looks to be covered based on the current API.

I'm interested in Halo and if we could remotely grab images. Would be kinda cool to build a home Lucid NVR, feed images in to my existing image processing pipeline for detects, etc.
Ah yeah, all that stuff’s there. The new Halo stuff is still in progress; I haven’t touched it in a while. Been busy.

@segbrk may have updated it some
 
Is it normal to have these kinds of gaps in the data?
1758913377774.webp

My automations don't seem to be triggering as result, at least how they're currently written...

Here's what it looks like for my Tesla:
1758913667619.webp


Thanks
 
Is it normal to have these kinds of gaps in the data?
View attachment 32768
My automations don't seem to be triggering as result, at least how they're currently written...

Here's what it looks like for my Tesla:
View attachment 32769

Thanks
Mine does not seem to have a gap during that time period, but it does have gaps sometimes; it just depends on where the car is, if it has cell coverage, if the server is down, etc.
 
Strange... the connectivity or the API is super spotty, even just sitting at home on my WiFi connection which unfortunately makes it unusable for location based automation.

1759010478444.webp


Any troubleshooting suggestions?
 
Strange... the connectivity or the API is super spotty, even just sitting at home on my WiFi connection which unfortunately makes it unusable for location based automation.

View attachment 32812

Any troubleshooting suggestions?
Trying something else, I installed TeslaLogger to see what the data looked like via MQTT. It also has gaps but not at the same times:
1759020375587.webp


Blue line is TeslaLogger MQTT, yellow line is the HA Integration. Again this is at home while the Gravity is on wifi... puzzling
 
Got my Gravity yesterday, latest software is installed. Found this thread and since I'm crazy about HA I immediately installed this automation.
After starting it and entering my credentials the car showed up in Devices with 73 entities exposed.
The issue I see is that every minute all entities become unavailable and then refresh again, filling the log with cycles of "became unavailable" and then becoming available again.
Over the course of several hours there were a few periods when entities remained stable for 4 minutes at a time, for some reason, but the rest of the time it cycles every 1 minute.
I assume this is not normal, any advise how to troubleshoot?
Thanks
 
Got my Gravity yesterday, latest software is installed. Found this thread and since I'm crazy about HA I immediately installed this automation.
After starting it and entering my credentials the car showed up in Devices with 73 entities exposed.
The issue I see is that every minute all entities become unavailable and then refresh again, filling the log with cycles of "became unavailable" and then becoming available again.
Over the course of several hours there were a few periods when entities remained stable for 4 minutes at a time, for some reason, but the rest of the time it cycles every 1 minute.
I assume this is not normal, any advise how to troubleshoot?
Thanks
Yes, this is essentially what I'm referring to in my posts above. Glad to see it's not just me with this behavior :)

What version software is on your Gravity?
 
Yes, this is essentially what I'm referring to in my posts above. Glad to see it's not just me with this behavior :)

What version software is on your Gravity?
@segbrk you able to take a look? Otherwise I’ll do it when I’m not on vacation but it’ll be a week and a half or so
 
Yes, this is essentially what I'm referring to in my posts above. Glad to see it's not just me with this behavior :)

What version software is on your Gravity?
I'm on 3.3.2 installed yesterday prior to installing HA integration.
Yes, looks like the same issue as yours, after few more hours of logging I can see longer stable periods just like in your screenshots, but still randomly breaks into "unavailable" cycles.
Checked my network to see if Gravity is dropping connections, no, stable WiFi connection the entire time.
However, I'm seeing all common software gremlins as others, such as intermittent keyfob issues, USB and wireless charging dropping, and just now as I'm typing I got "car battery low" alert despite being 80% charged.
What underlying data protocol is being used for this integration? Is it MQTT? Are there specific logs I can check to collect more information?
Thanks
 
...However, I'm seeing all common software gremlins as others, such as intermittent keyfob issues, USB and wireless charging dropping, and just now as I'm typing I got "car battery low" alert despite being 80% charged...
Keyfob has been addressed- did you take yours in for the update yet?
USB and wireless charging issues are likely due to a pinched cable in the console - have you notified service?
 
What underlying data protocol is being used for this integration? Is it MQTT? Are there specific logs I can check to collect more information?
Thanks
The Home Assistant integration uses python-lucidmotors. You can enable Debug logging for the Integration and check the standard HA logs.

Digging around I see this:
Logger: custom_components.lucidmotors.coordinator
Source: helpers/update_coordinator.py:424
integration: Lucid Motors (documentation, issues)
First occurred: September 27, 2025 at 3:18:50 PM (262 occurrences)
Last logged: September 27, 2025 at 10:43:32 PM

Error fetching Lucid account <my lucid account email> data: Error communicating with API: StatusCode.RESOURCE_EXHAUSTED:

I’m going to shut down LucidLogger for now just in case.
 
Keyfob has been addressed- did you take yours in for the update yet?
USB and wireless charging issues are likely due to a pinched cable in the console - have you notified service?
I reported my experience in the 3.3.2 software update thread. I would not call it "addressed" just yet as it bricked my car until Alt-Ctrl-Del reset. At this point HA integration is lower priority until I can confidently enter the car and put it in drive every time without fear of bricked software.
 
Error fetching Lucid account <my lucid account email> data: Error communicating with API: StatusCode.RESOURCE_EXHAUSTED:
Thanks for that. I think Lucid may have finally started rate limiting the API to some extent. I'll have to mess with it and see if I can figure out what the rate limit is so we stop hitting it.
 
Back
Top