sockless-coding / garo_wallbox

Garo wallbox - Home Assistant Component
MIT License
20 stars 35 forks source link

garo home assistant switch off and on #33

Open bjarne007 opened 1 year ago

bjarne007 commented 1 year ago

Hi is it posible to switch on and off a GARO Wallbox with Home Assistant if yes how ?

stejo388 commented 1 year ago

Hi, I have the same problem. The garo_wallbox.set_mode seems not work

sockless-coding commented 1 year ago

Hi, Calling garo_wallbox.set_mode should set the mode of the wallbox. Ex. Enable charging

service: garo_wallbox.set_mode
data:
  entity_id: sensor.garage_charger
  mode: "On"

Disable charging

service: garo_wallbox.set_mode
data:
  entity_id: sensor.garage_charger
  mode: "Off"
stejo388 commented 1 year ago

Hi,

Now it works, the problem was that I had typed "off" instead of "Off".

Thanks

molcam commented 8 months ago

I am sure this will be easily solved for those that know the configurations better than I do but is there anyway to do a toggle switch that when the button is pressed it toggled between "On" and "Off". I have struggled to find a good way to do this. Currently I use the tap_action and hold_action which makes this possible to have separate On and Off actions but its not optimal...