You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In version 1.0.30 this was working just fine, but the following commit (98b5118) breaks this functionality. {BRAND}/{COUNTRY} does not get subsituted for skoda/CZ in the request url. When hardcoding it in line 851 of connection.py the preheater functions as expected again.
Other requests, such as fetching status seem to work just fine according to the log though.
Working:
DEBUG (MainThread) [skodaconnect.connection] HTTP POST "https://msg.volkswagen.de/fs-car/bs/rs/v1/skoda/CZ/vehicles/vin/action"
DEBUG (MainThread) [skodaconnect.connection] Request for "https://msg.volkswagen.de/fs-car/bs/rs/v1/skoda/CZ/vehicles/vin/action" returned with status code [202], response: {'performActionResponse': {'requestId': '19643149', 'vin': 'vin'}, 'rate_limit_remaining': '14'}
Not working:
DEBUG (MainThread) [skodaconnect.connection] HTTP POST "https://msg.volkswagen.de/fs-car/bs/rs/v1/{BRAND}/{COUNTRY}/vehicles/vin/action"
ERROR (MainThread) [skodaconnect.connection] Bad request
WARNING (MainThread) [skodaconnect.vehicle] Failed to set parking heater mode to heating - Invalid or no response
File "/config/custom_components/skodaconnect/switch.py", line 32, in async_turn_on
File "/usr/local/lib/python3.8/site-packages/skodaconnect/dashboard.py", line 526, in turn_on
File "/usr/local/lib/python3.8/site-packages/skodaconnect/vehicle.py", line 431, in set_pheater
The text was updated successfully, but these errors were encountered:
In version 1.0.30 this was working just fine, but the following commit (
98b5118
) breaks this functionality.{BRAND}/{COUNTRY}
does not get subsituted forskoda/CZ
in the request url. When hardcoding it inline 851 of connection.py
the preheater functions as expected again.Other requests, such as fetching status seem to work just fine according to the log though.
Working:
Not working:
The text was updated successfully, but these errors were encountered: