homeassistant-jlrincontrol
homeassistant-jlrincontrol copied to clipboard
AttributeError: 'NoneType' object has no attribute 'vehicles'
The problem
I recently upgraded to v2.2.7 and the integration has stopped working.
2024-04-04 08:23:05.144 ERROR (MainThread) [homeassistant.config_entries] 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'
What version of JLR Home Assistant Integration has the issue?
v2.2.7
What was the last working version of JLR Home Assistant Integration?
v2.2.6
Vehicle type and model
RRS 510e
Diagnostics information
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response