nordicopen / easee_hass

Custom component for Easee EV charger integration with Home Assistant
195 stars 33 forks source link

Add translations to services #400

Closed astrandb closed 1 month ago

astrandb commented 3 months ago

Add translations to services and selectors. Will improve the user experience in automation editor.

BREAKING CHANGE Not breaking immediately, but some keys used in automations and scripts are deprecated. Repair messages are generated if you use the deprecated keys. These keys will stop working in HA versions >= 2024.7.0

The necessary changes are described here:

Service _set_weekly_chargeplan: value of day must be changed to string value: 0 -> "monday"; 1 -> "tuesday"... 6->"sunday" _set_accesslevel: 1->"open_for_all"; 2->"requires_easee_account"; 3->"whitelist". _set_circuit_maxlimit, _set_circuit_offlinelimit, _set_circuit_dynamiclimit: currentP1 -> current_p1; currentP2->current_p2; currentP3->current_p3

If you don't use any of these services no changes are needed.