✨ feat(api): unify charging mode handling and improve stability
- Consolidate charging mode logic to use the
chargingstationsendpoint. - Ensure backward compatibility with existing
set_charging_modeservice. - Update UI controls to route through the stable endpoint, preventing session timeouts.
- Introduce support for grid sensor and restore charging mode after restart.
- Remove stale button entities from previous versions for cleaner integration.
I have tried to make everything backward compatible, but there is a small chance you have to make some small updates in home assistant.
Potentially fixes #143 , #103, #40 , #38 — please test and report back if the issue persists.