Skip to content
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

ChargeState.ChargerPower should be int #28

Open
andig opened this issue Mar 29, 2020 · 1 comment
Open

ChargeState.ChargerPower should be int #28

andig opened this issue Mar 29, 2020 · 1 comment

Comments

@andig
Copy link

andig commented Mar 29, 2020

It is an interface{} currently while the examples at https://tesla-api.timdorr.com/vehicle/state/chargestate seem to indicate that it's an int?

@jsgoecke
Copy link
Owner

Good question, I'm not sure why I originally used interface{} for many of these. I will have a look and see about changing them to reflect the JSON with int and bool in some cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants