cathiele / homeassistant-goecharger

Home Assistant custom_component for controlling the go-eCharger EV-Charger
MIT License
89 stars 29 forks source link

power control?? #64

Closed colseven closed 2 years ago

colseven commented 2 years ago

i would like to control the power of my wallbox but somehow i can’t do it with the automation. If I enter this it works

service: goecharger.set_max_current
data:
  max_current: 6

with the formula the correct result comes out in services but nothing happens in the automation - thank you very much for your help.

service: goecharger.set_max_current
data:
 max_current: {{ states('sensor.goecharger_wallbox_charger_max_current')|float + 1 }}
colseven commented 2 years ago

solved service: goecharger.set_max_current data: max_current: '{{ states(''sensor.goecharger_wallbox_charger_max_current'')|float + 1 }}'