Skip to content

JLR have changed API again and integration no longer loads #138

Closed
@TonyMontuna

Description

Integration recently stopped working within the last week or so.

Settings says it’s failed to setup.

Disabled. Re-enabled. Refreshed.

Enabled debugger and got this:

`Logger: homeassistant.config_entries
Source: config_entries.py:504
First occurred: 9:29:36 PM (5 occurrences)
Last logged: 11:18:30 PM

Error setting up entry [email protected] for jlrincontrol
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 504, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/jlrincontrol/init.py", line 276, in async_setup_entry
hass, config_entry, data.connection.vehicles, data
^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'vehicles'
`

Other details:

-My system is running on a dell optiplex
Core
2024.3.1
Supervisor
2024.03.0
Operating System
12.1
Frontend
20240307.0

And the JLR app is 2.2.6

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions