-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
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
KeyError: 'climate_state' #186
Comments
I will put a temporary fix that won't load the seat sensors if a keyerror is found. That may be the solution, but I'd appreciate you taking a look and maybe considering another fix with a test for this case. |
It looks like you're relying on the sensors to already have data in them. However, the data won't have been pulled yet during init. You should move that into the update function. |
Just opened a PR to fix this. Thanks for clarifying what was causing the issue, misunderstood the lifecycle of the tesla data when I originally added. |
@Trupal00p
I'm getting this error in a live system. Can you please check and provide a fix? Please note there will be vehicles that may not have seat heaters.
I'll spawn a new issue with this comment so please respond there.
Originally posted by @alandtse in #180 (comment)
The text was updated successfully, but these errors were encountered: