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.
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.