Closed TonyMontuna closed 6 months ago
Mine stopped working yesterday morning and an integration reload this morning confirmed that it's an API problem. Looks like they blocked us again.
Same for me. Seemed to stop working sometime midday yesterday. Im getting a similar error to the above
This error originated from a custom integration.
Logger: custom_components.jlrincontrol
Source: custom_components/jlrincontrol/__init__.py:399
integration: Jaguar Landrover InControl (documentation)
First occurred: 11:20:34 (3 occurrences)
Last logged: 11:21:06
Error connecting to JLRInControl. Error is 'NoneType' object is not subscriptable
Yes, seems so. This is being looked at.
Seems like you are aware but just in case I thought I’d let you know it’s stopped working in the latest Beta version too.
The error is within the jlrpy library and v1.7.0 seems to have fixed it (have confirmed I can log in using it). Seems JLR changed the auth header format:
https://github.com/ardevd/jlrpy/pull/123/commits/48567a4a62ee6ac91377d70154bbe411d9eaa1d7
Thanks @pmharris77 for verifying that jlrpy v1.7.0
has fixed the issue. I did same test and it seems to work now. I will make a new release in few minutes.
I just tested it in HomeAssistant by manually updating the manifest.json file to pull in v 1.7.0 and it is all working again :)
Release v2.2.7 is released. Please upgrade and verify the fix.
Sorry to be a pain @ismarslomic any chance you could add the fix to beta 3.0 for little old me :)
@BNWEIN will also be upgraded in few minutes
New beta release v3.0.0beta7 is released. Please upgrade and verify the fix.
Confirmed as working! What a legend!! Thank you soo much @ismarslomic
The legend is @ardevd! Thanks for quick fix! 🙏 ❤️
I do have one question @ismarslomic, i know this probably isnt the place, but seeing as you are here!!
How do i set the temperature when using the new "switch.mycar_climate_engine"?
Please raise new issue for that question. This is totally off topic in current (closed) issue
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 gmail@gmail.com 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