nordicopen / easee_hass

Custom component for Easee EV charger integration with Home Assistant
209 stars 34 forks source link

TypeError: smart_charging() missing 1 required positional argument: 'enable' #124

Closed alexanderwink closed 3 years ago

alexanderwink commented 3 years ago

Why I'm i getting this error? I know there was a previous issue reported on this but since then pyeasee and easee_hass has been updated.

From HA log:

INFO (MainThread) [pyeasee.easee] Easee python library version: 0.7.36

From manifest.json:

"name": "Easee EV charger",
"version": "0.9.31",
olalid commented 3 years ago

Hi, I am missing a bit of context here. Under what circumstances are you getting this error? Are you doing anything specific like calling a service?

tmjo commented 3 years ago

When calling the service smart_charging which is supposed to toggle the smart charging on/off. I get the same error, seems like we (possibly me) must have forgotten to push this change to the HA integration when it was fixed in pyeasee PR, or something has happened since. Anyway, I can fix this when I find the time.

alexanderwink commented 3 years ago

Yes @tmjo is correct. This happens when I call the smart_charging service from HA/nodered.

olalid commented 3 years ago

Closing since this is now fixed.