Closed JaniAst closed 1 year ago
Just saw the same thing. Will look into it this evening. Looks like VW are doing incremental/small changes to their API these days...
Exact same error since 1 day ago.
A little larger change in the VW API this time, but should work now and attributes should be called the same as before. Please test current master.
Working again. Thanks!
fixed! thanks a lot
thank you - fixed and tweaked to add miles for the UK :)
Good to hear. Closing.
Hi,
This error started today:
2022-12-05 14:39:02 ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.wvgzzze2zmp034600_soc fails Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 446, in async_update_ha_state await self.async_device_update() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 654, in async_device_update raise exc File "/config/custom_components/vwid/sensor.py", line 92, in async_update data = await self.api.get_status() File "/config/custom_components/vwid/libvwid.py", line 198, in get_status if await self.reconnect(): File "/config/custom_components/vwid/libvwid.py", line 90, in reconnect response = await self.session.get(LOGIN_BASE + '/authorize', params=payload) File "/usr/local/lib/python3.9/site-packages/aiohttp/client.py", line 606, in _request raise ValueError("Can redirect only to http or https") ValueError: Can redirect only to http or https