-
-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'sensor.fordpass_fuel' cannot be added a second time #465
Comments
Turn on debugging and see if it is from the new API.... I have just been ignoring for the last 2 months, but you are not alone.
|
+1 same here, with one car (Ford Kuga). |
Are you able to determine if this is still an issue? |
Why yes I can...
|
yep still an issue for me
|
I believe this can happen on PHEV cars: In sensor.py, last part of function async_setup_entry:
edit: unfortunately the 'code' doesn't work entirely as expected, but managed to tweak it to be manageable |
Proposal: As it is the only sensor with a dual function, would it be sensible to place the xevBatteryStateOfCharge in it's own sensor named 'elVehCharge', there already is the battery sensor, which probably is used for the 12V battery. |
on startup I am seeing errors for
homeassistant.exceptions.HomeAssistantError: Entity 'sensor.fordpass_fuel' cannot be added a second time to an entity platform
I do have two cars using the integration but the second car has
sensor.forpass_fuel_2
Could also be that the fuel sensor (not _2) is for a hybrid that has petrol and electric ranges.
The sensors do appear to be setup and working but perhaps this is just a bug in the flow where the sensor is trying to get added twice?
The text was updated successfully, but these errors were encountered: