core
core copied to clipboard
nissan_leaf Integration Broken (Related to pycarwings2 Library)
The problem
The Nissan Leaf integration has stopped working since May 17, 2024. The integration is not being initialized correctly, causing all Nissan Leaf entities to remain in the "unavailable" state.
What version of Home Assistant Core has the issue?
core-2024.5.4
What was the last working version of Home Assistant Core?
core-2024.5.4
What type of installation are you running?
Home Assistant Supervised
Integration causing the issue
nissan_leaf
Link to integration documentation on our website
https://www.home-assistant.io/integrations/nissan_leaf/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
On init, the integration fails with this error message:
An unknown error occurred while connecting to Nissan: <class 'pycarwings2.pycarwings2.CarwingsError'>
Additional information
It is similar to the issue discussed in pycarwings2 Issue #46, suggesting that the bug is inherent to the pycarwings2 library rather than Home Assistant's integration of it.
- https://github.com/filcole/pycarwings2/issues/46