core icon indicating copy to clipboard operation
core copied to clipboard

nissan_leaf Integration Broken (Related to pycarwings2 Library)

Open remuslazar opened this issue 9 months ago • 77 comments

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

remuslazar avatar May 18 '24 06:05 remuslazar