Setting the charging threshold in the electric car

Sorry in advance, I’m still a beginner and am still having a bit of trouble with programming.
I have an electric car and I can control it via HA. ​​I would like to have a switch in a dashboard that limits the charging power to 80% or releases it to 100%. I can do this easily in Node-Red, but it’s a problem in HA. Can you help me?
Screenshot 2024-06-30 165928

![Screenshot 2024-06-30 170049|690x394](upload://jeAdtkFVvvRPhIpAHBCHiPqYdax.jpeg)

Please read the FAQ before posting. This is an English only forum.

How to help us help you - or How to ask a good question.

Bitte lesen Sie die FAQ, bevor Sie einen Beitrag posten. Dies ist ein ausschließlich englischsprachiges Forum.