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

how to set the preferredChargeMode ? #137

Open
marco44 opened this issue Jul 27, 2023 · 3 comments
Open

how to set the preferredChargeMode ? #137

marco44 opened this issue Jul 27, 2023 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@marco44
Copy link

marco44 commented Jul 27, 2023

Describe the bug
I'm not sure it's really a bug, but I can't find a way to do it.

I managed to get the preferredChargeMode of my car (VW ID.3), and want to set it if I detect it's incorrectly set (which happens randomly, I suppose another bug from VW)

I managed to get up to this point:

>>> chargemode.preferredChargeMode.value
<ChargeModeEnum.PREFERRED_CHARGING_TIMES: 'preferredChargingTimes'>

But I couldn't find the method to change it. I tried to use the valueSetter in this preferredChargeMode object, but with no success…

TypeError: 'NoneType' object is not callable

How can I fix this ?
Thanks a lot

@marco44 marco44 added the bug Something isn't working label Jul 27, 2023
@tillsteinbach
Copy link
Owner

Hi, it is not implemented to be changed. I am not sure if the API allows to change it at all.

@marco44
Copy link
Author

marco44 commented Aug 1, 2023

I just checked (sorry i was away from home for a while): I can switch between immediate and "preferred" charging times via the app, so I suppose the API allows it

@marco44
Copy link
Author

marco44 commented Aug 3, 2023

BTW can I do anything to help ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants