tmjo / charger-card

A lovelace card for electrical vehicle (EV) home chargers and charging robots.
MIT License
88 stars 58 forks source link

Easee - Use of deprecated service: resume #31

Closed yusijs closed 1 year ago

yusijs commented 1 year ago

The easee integration is being changed from services to action commands; I got this error message when I tried clicking the Start button in your card.

image

tmjo commented 1 year ago

Hi! Yes, I am aware. I'll fix that before the deprecation, should be fairly easy to do. Cheers.

corvy commented 1 year ago

image

Just for completeness I got a few more of these. I guess you are aware :)

tmjo commented 1 year ago

Hi. Yes, we tried to change most of the service calls to one so it is basically all that was possible to have with a 'command'.

kirilldem commented 1 year ago

Any more updates on this?

I get this error message:

This stops working in version 2023.1.0. Please address before upgrading.
The use of the service stop is deprecated and the service will be removed in the future.

Please convert your automations and scripts to use action_command as soon as possible
tmjo commented 1 year ago

Hi, it should be fixed in test releases the recent days, you can test with v0.2.2-alpha (if using HACS, enable the feature to see beta-versions by clicking redownload if it is not already enabled).

To my knowledge, the services are not yet deprecated, so there shouldn't be any problems. But if you want to test the new versions of the card, that would be nice.

Btw; you need to re-configure the card too, since the new services use device_id and not entity_id which is implemented in the new versions.

Enrica-r commented 1 year ago

Hi, now it happened. The deprecated services have been removed with latest easee plugin release. Therefore your pause, resume, start and stop buttons don't work anymore. I hope that your test were positive and you can release this fix. Thank you very much.

tmjo commented 1 year ago

Hi, this is already released some time ago. But you need to update your yaml-code either by using the UI or just by doing it manually. There is no other way. Suggest to setup a new test card using the UI, and if everything looks the way you want just replace your card with the new one.

tmjo commented 1 year ago

Nothing heard in while, so closing issue. Please re-open if there is still an issue.

PS! Advanced example in readme updated to reflect the changes mentioned above in Easee integration. Also, the yaml-config is not updated automatically so users need to update their configuration themselves (but UI config now helps doing this very easily, especially if no customizations were made).