CJNE / ha-myenergi

Home Assistant integration for MyEnergi devices
MIT License
143 stars 32 forks source link

493 unlock #494

Closed JosyBan closed 6 months ago

JosyBan commented 6 months ago

Closes https://github.com/CJNE/ha-myenergi/issues/493

This change exposes the unlock call available in the pymyenergi project for the zappi.

This is my first HA component development, so hope I haven't missed anything. I ran the tests and they all seemed to pass.

I also tested the functionality by manually updating the code in my local environment and it work successfully i.e. - I could unlock my Zappi from HA.