-
Notifications
You must be signed in to change notification settings - Fork 39
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
Pause/Resume Charger not working #247
Comments
Is there anything interesting in the full HA log? Have you tried to test the service in Developer tools in HA, there you can switch between UI and yaml mode to see the generated data. You can turn on more detailed logging by entering following into configuration.yaml logger:
default: info
logs:
pyeasee: debug
custom_components.easee: debug |
Update: when i trigger Actions out of the integrations tab (for example activate/deactivate Smart charging) i get no error in the logs. So basic communication seems to be fine. |
The error indicates that the API does not accept the command when there is no car connected to the charger. |
Oh, yes. That is true. There is no car connected at the moment. Did this behavior change with the new action_command? Thanks so much for your help. |
We are using the same API call, so there should be no differences in behaviour. |
I will update my script to trigger pause/resume only when a car is connected. Thanks so much :) |
Question
When using the new action_command to pause/resume the charging session i get the following Error in Home Assistant Logs:
Logger: custom_components.easee.services
Source: custom_components/easee/services.py:478
Integration: Easee EV Charger (documentation, issues)
First occurred: 3. November 2022 um 22:15:14 (142 occurrences)
Last logged: 10:00:14
Failed to execute service: action_command with data {'charger_id': 'EH3RMYID', 'action_command': 'pause'}
I trigger the service out of Node-Red. Here i get an green message, the service could be triggered but Home Assistant logs an Error.
This is how i trigger it in Node-Red:
Server: HomeAssistant
Domain: easee
Service: action_command
Data: {"charger_id":msg.chargerID,"action_command":"pause"}
Do i maybe put wrong Data into the Service?
What version of the integration are you using?
easeee-0.9.46
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: