File: vehicle_data.charge-mode.rst

package info (click to toggle)
python-renault-api 0.5.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,696 kB
  • sloc: python: 7,804; makefile: 2
file content (18 lines) | stat: -rw-r--r-- 686 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
charge-mode
'''''''''''

.. rst-class:: endpoint

Base url:
   ``/commerce/v1/accounts/{account_id}/kamereon/kca/car-adapter/v1/cars/{vin}/charge-mode``

Sample return:
   .. literalinclude:: /../tests/fixtures/kamereon/vehicle_data/charge-mode.json
      :language: JSON

.. note::
   On older vehicles, such as Zoe40 (model code X101VE):
      The return values appear to be ``always_charging`` and ``schedule_mode``. This matches the ``vehicle_action.charge-mode`` action attributes.

   On newer vehicles, such as Zoe50 (model code X102VE):
      The return values appear to be ``always`` and ``scheduled``. This DOES NOT match the ``vehicle_action.charge-mode`` action attributes.