Unmutual
Active Member
- Joined
- Sep 14, 2022
- Messages
- 425
- Reaction score
- 395
- Cars
- '22 AGT
I see others have the same problem: the integration isn't compatible with the newest HA core. https://github.com/borski/ha-lucidmotors/issues/23
Same thing happened to me with core 2024-11-1. I restored the earlier backup and not going to update until this is figured out. @borski @segbrk , FYII see others have the same problem: the integration isn't compatible with the newest HA core. https://github.com/borski/ha-lucidmotors/issues/23
Try now. I just pushed v1.0.10.
HA updated some versions and made my evening very annoying, but it’s fixed now.![]()
You guys must be, like, rocket scientists!
This morning, I plugged in my coffee pot all by myself. Am quietly proud.
This has been a common problem. Occasionally the API will error or fail to respond, which shows in Home Assistant as e.g. "Lucid Air XYZ has become unavailable." The location changes from Home to ???, then back when the API starts responding. One suggestion would be to add a condition to your automation, "If Lucid Air Power state is Drive" to make sure your car is actually driving and not just popping around in its sleep.I have an automation set up with ratgdo so that the garage door will open when my car enters my Home zone. Last night at 3AM, it got triggered even though my car was in the garage (already Home) all night. This has happened multiple times. I looked at the HA Logbook and confirmed that my automation was triggered by the Lucid entering the Home zone.
The automation ran yesterday when I came home so HA knew that the car was in the Home zone. I have another automation to close the garage door when it exits the Home zone, and the Logbook does not have an event of the car leaving the Home zone last night.
I'm at a loss how this automation was triggered last night. Any ideas on how to debug this?
It's not aware of the options, you just have to type it in. Capital D.Thanks. I'm trying to add this condition but I'm not seeing "Drive" as an available state. I only have "Unavailable" or "Unknown" (see below).
View attachment 24572
alias: Open Garage When Car Arrives Home
description: >-
Opens the garage door when the car enters the zone, is in drive or reverse,
and the garage door is closed.
triggers:
- device_id: XXXX
domain: device_tracker
entity_id: XXXX
type: enters
trigger: device
zone: zone.home
conditions:
- condition: or
conditions:
- condition: state
entity_id: sensor.lucid_air_gear_position
state: drive
- condition: state
entity_id: sensor.lucid_air_gear_position
state: reverse
- condition: state
entity_id: cover.garage_door
state: closed
actions:
- device_id: XXXX
domain: cover
entity_id: XXXX
type: open
mode: single
I think your "drive" and "reverse" just need to be title-case, "Drive" and "Reverse" - pretty sure it is case sensitive. Also, if you go to your automation and click TRACES, you can step through exactly what happened when it was last triggered to see why conditions are failing.Anyone having issues getting things like the Garage Door to trigger with HA. I've messed around with this so much but still can't seem to get it to trigger
YAML:alias: Open Garage When Car Arrives Home description: >- Opens the garage door when the car enters the zone, is in drive or reverse, and the garage door is closed. triggers: - device_id: XXXX domain: device_tracker entity_id: XXXX type: enters trigger: device zone: zone.home conditions: - condition: or conditions: - condition: state entity_id: sensor.lucid_air_gear_position state: drive - condition: state entity_id: sensor.lucid_air_gear_position state: reverse - condition: state entity_id: cover.garage_door state: closed actions: - device_id: XXXX domain: cover entity_id: XXXX type: open mode: single
The car is definitely being detected but the automation simply won't trigger. The reason I have "Drive" or "Reverse" as a requirement was because one day the car was just sitting in the garage and the door just randomly opened.
View attachment 24832
Unless you’re telling the car to unlock or something, Home Assistant won’t keep it awake. The car does just make noises sometimes. Battery conditioning things will run automatically if it’s hot/cold, and it wakes up a little bit every 2 hours to report status.I just installed this, and it seems that even after I've been away from the car for a while, there is a sound coming from the car. Does this stop the car from "going to sleep"? Also, I tried to set up an automation to warn me when the battery was below 60%, but even though the battery is at 72%, it fired. Here is the yaml, can you see anything wrong with it?
- id: '1734025992822'
alias: Lucid Battery Low
description: Lucid battery below 60%
triggers:
- trigger: numeric_state
entity_id:
- sensor.lucid_air_remaining_battery_percent
below: 60
You can check the status (and see the history for the status) of the car in HA; it will tell you if it has been asleep, for how long, in what state, etc.I just installed this, and it seems that even after I've been away from the car for a while, there is a sound coming from the car. Does this stop the car from "going to sleep"? Also, I tried to set up an automation to warn me when the battery was below 60%, but even though the battery is at 72%, it fired. Here is the yaml, can you see anything wrong with it?
- id: '1734025992822'
alias: Lucid Battery Low
description: Lucid battery below 60%
triggers:
- trigger: numeric_state
entity_id:
- sensor.lucid_air_remaining_battery_percent
below: 60
The car wakes up by itself every few hours to upload and download to the cloud.The trace looks fine (see below). If the integration doesn't keep the car awake, how can the triggers happen?
Someone who knows more than I may correct this, but I believe the automation triggered because remaining_battery_percent changed. Take a look at the automation's decision tree on the left to see its progress through your automation. It should have bailed out upon deciding that the new remaining_battery_percent was not below 60.Sorry, it's early still!
trigger: numeric_state
entity_id:
- sensor.lucid_air_remaining_battery_percent
below: 60