nordicopen / pyeasee

Easee EV charger API python library
MIT License
39 stars 11 forks source link

Changes to better support large installation sites. #72

Closed olalid closed 1 year ago

olalid commented 1 year ago

Added a new function get_account_products() to retrieve all sites/products that are accessible by the currently logged in user. This is in contrast to the existing get_sites() function which retrieves also products that are not accessible.

Changed the lockCablePermanently() function to use /api/chargers/{id}/commands/lock_state instead because it seems the old method does not work when the user does not have rights to change settings on the charger.