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
I'm (indirectly) using skodaconnect from Home Assistant. Many thanks for the work by the way, it's great to have this library.
With Enyaq, there is this recurrent issue happening quite often:
File "/usr/local/lib/python3.10/site-packages/skodaconnect/dashboard.py", line 127, in state val = super().state File "/usr/local/lib/python3.10/site-packages/skodaconnect/dashboard.py", line 58, in state if hasattr(self.vehicle, self.attr): File "/usr/local/lib/python3.10/site-packages/skodaconnect/vehicle.py", line 1542, in last_connected last_connected = datetime.strptime(last_connected_utc,'%Y-%m-%dT%H:%M:%S.%fZ').astimezone().replace(tzinfo=None).replace(microsecond=0) TypeError: strptime() argument 1 must be str, not None
Thanks!
The text was updated successfully, but these errors were encountered:
dvx76
added a commit
to dvx76/skodaconnect
that referenced
this issue
Mar 20, 2023
Fixesskodaconnect#70
```
File "/usr/local/lib/python3.10/site-packages/skodaconnect/dashboard.py", line 127, in state val = super().state
File "/usr/local/lib/python3.10/site-packages/skodaconnect/dashboard.py", line 58, in state if hasattr(self.vehicle, self.attr):
File "/usr/local/lib/python3.10/site-packages/skodaconnect/vehicle.py", line 1542, in last_connected last_connected = datetime.strptime(last_connected_utc,'%Y-%m-%dT%H:%M:%S.%fZ').astimezone().replace(tzinfo=None).replace(microsecond=0) TypeError: strptime() argument 1 must be str, not None
```
Hi,
I'm (indirectly) using skodaconnect from Home Assistant. Many thanks for the work by the way, it's great to have this library.
With Enyaq, there is this recurrent issue happening quite often:
File "/usr/local/lib/python3.10/site-packages/skodaconnect/dashboard.py", line 127, in state val = super().state File "/usr/local/lib/python3.10/site-packages/skodaconnect/dashboard.py", line 58, in state if hasattr(self.vehicle, self.attr): File "/usr/local/lib/python3.10/site-packages/skodaconnect/vehicle.py", line 1542, in last_connected last_connected = datetime.strptime(last_connected_utc,'%Y-%m-%dT%H:%M:%S.%fZ').astimezone().replace(tzinfo=None).replace(microsecond=0) TypeError: strptime() argument 1 must be str, not None
Thanks!
The text was updated successfully, but these errors were encountered: