jonasbkarlsson / ev_smart_charging

Electric vehicle smart charging for Home Assistant.
MIT License
169 stars 25 forks source link

Allow "binary sensor" as "Charger control Switch" #188

Closed mwthrane closed 1 year ago

mwthrane commented 1 year ago

The tesla wall charger integration uses "binary sensor" and not a switch as the charger entity. Would be awesome if we could add that under the configuration (the last option)

jonasbkarlsson commented 1 year ago

Binary sensors as well as any kind of sensor are read-only. It can't be used to control the integration. I looked at the Tesla Wall Connector implementation, and I couldn't find anything that will make it possible to start charging using that integration. It only seems to have (read-only) sensors.