jonasbkarlsson / ev_smart_charging

Electric vehicle smart charging for Home Assistant.
MIT License
139 stars 18 forks source link

Accept input_boolean as a switch #239

Closed Dominic-070 closed 6 months ago

Dominic-070 commented 6 months ago

For the 'Charger control switch' please accept 'input_boolean' as a 'switch'. My charger doesn't have a chaging switch, so I created an input_boolean that switches the charger between 0A and 16A.

image
jonasbkarlsson commented 6 months ago

Hi! Actually, the integration itself is a sensor with boolean values "on" and "off". So in your case, leave the "Charger control switch" item in the configuration empty (or a single space to remove an old value). And then use the automations suggested start-charging and stop-charging. You don't need to create your own input_boolean.

Dominic-070 commented 6 months ago

Thnx!