We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The timestamp is in UTC, but vehicle.timestamp.tzinfo returns None.
Which means I need to do
vehicle.timestamp.replace(tzinfo=datetime.timezone.utc).astimezone().strftime("%d %b %Y %H:%M:%S %Z")
To get a timestamp string with proper TZ
vehicle.timestamp.tzinfo should return timezone.utc
None
No response
North America
The text was updated successfully, but these errors were encountered:
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Sorry, something went wrong.
rikroe
Successfully merging a pull request may close this issue.
Describe the issue
The timestamp is in UTC, but vehicle.timestamp.tzinfo returns None.
Which means I need to do
To get a timestamp string with proper TZ
Expected behavior
vehicle.timestamp.tzinfo should return timezone.utc
Which Home Assistant version are you using?
None
What was the last working version of Home Assistant Core?
No response
What is your region?
North America
MyBMW website
Number of cars
Output of bimmer_connected fingerprint
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: