leeyuentuen / alfen_wallbox

Alfen wallbox - Home Assistant Component
MIT License
54 stars 10 forks source link

feature request: Start/Stop charging switch #76

Open ronajon opened 8 months ago

ronajon commented 8 months ago

i've just found this integration, and am trying to get it working together with the EV Smart Charging integration (https://github.com/jonasbkarlsson/ev_smart_charging/).

is it possible to add a switch that Start/Stops the charging?

leeyuentuen commented 8 months ago

you mean this? "Socket 1 Operation Mode" where you can choose operative and inoperative?

image
ronajon commented 8 months ago

yes, thats the one. is it possible to convert it to a switch, because thats whats needed by the integration

leeyuentuen commented 8 months ago

yes, thats the one. is it possible to convert it to a switch, because thats whats needed by the integration

Is there an alternative method to circumvent the need for that switch? If I have to introduce a switch for that particular field, it would necessitate custom code modifications. This is because for the switch, we should have a boolean value of 0 or 1. If not, I would have to write custom code to manually convert the value from "operative" or "inoperative" to a boolean.

ronajon commented 8 months ago

i think i can create a switch and use an automation to set the operative

Bert-R commented 4 months ago

@ronajon Did you manage to get it working? If so, how?

ronajon commented 3 months ago

@ronajon Did you manage to get it working? If so, how?

unfortunately i did not