kirei / hass-chargeamps

Home Assistant Component for Chargeamps
Other
25 stars 8 forks source link

Add support for (un)locking cables #28

Closed a94marbo closed 2 years ago

a94marbo commented 2 years ago

Since the option to lock/unlock the cables is available in the Charge Amps app, I wonder if it would be possible to add this support to the HA integration? My use case is that I want to lock the cables when I have armed my home security (away mode), and unlock the cables when I am home.

jschlyter commented 2 years ago

This is for Aura? For Halo the cable is locked by the car I guess.

a94marbo commented 2 years ago

This is for Aura? For Halo the cable is locked by the car I guess.

Yes, the Aura, sorry.

jschlyter commented 2 years ago

Can you test test the cable lock feature in https://github.com/kirei/python-chargeamps/ and report back? Should be possible with something like:

chargeamps --config config.json get-connector chargeamps --config config.json set-connector --chargepoint YYY --connector XXX --cable-lock chargeamps --config config.json set-connector --chargepoint YYY --connector XXX --cable-unlock

If this works, I can add it to the integration.

a94marbo commented 2 years ago

I am not sure what you want me to do? I have very little experience in doing changes in the integrations.

jschlyter commented 2 years ago

Fixed via https://github.com/kirei/hass-chargeamps/releases/tag/v1.7.0