While we need only the hours and minutes of the departure timers, the exact dates on those time objects were wrong and resulted in wrong timezone offsets being used.
Disclaimer: I am not python developer and the results here are very crude attempts that I managed to get working after a lot of googling. The problem in the code was .astimezone(tz=None) part really.
While we need only the hours and minutes of the departure timers, the exact dates on those time objects were wrong and resulted in wrong timezone offsets being used.
eg.
1900-01-01 06:39:49+01:39:49
This should fix https://github.com/robinostlund/homeassistant-volkswagencarnet/issues/585
Disclaimer: I am not python developer and the results here are very crude attempts that I managed to get working after a lot of googling. The problem in the code was
.astimezone(tz=None)
part really.