rivian-python-client 1.0.0__tar.gz → 1.0.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {rivian_python_client-1.0.0 → rivian_python_client-1.0.1}/PKG-INFO +1 -1
- {rivian_python_client-1.0.0 → rivian_python_client-1.0.1}/pyproject.toml +1 -1
- {rivian_python_client-1.0.0 → rivian_python_client-1.0.1}/src/rivian/rivian.py +3 -3
- {rivian_python_client-1.0.0 → rivian_python_client-1.0.1}/README.md +0 -0
- {rivian_python_client-1.0.0 → rivian_python_client-1.0.1}/src/rivian/__init__.py +0 -0
- {rivian_python_client-1.0.0 → rivian_python_client-1.0.1}/src/rivian/const.py +0 -0
- {rivian_python_client-1.0.0 → rivian_python_client-1.0.1}/src/rivian/exceptions.py +0 -0
- {rivian_python_client-1.0.0 → rivian_python_client-1.0.1}/src/rivian/py.typed +0 -0
- {rivian_python_client-1.0.0 → rivian_python_client-1.0.1}/src/rivian/utils.py +0 -0
- {rivian_python_client-1.0.0 → rivian_python_client-1.0.1}/src/rivian/ws_monitor.py +0 -0
|
@@ -450,10 +450,10 @@ class Rivian:
|
|
|
450
450
|
if not (
|
|
451
451
|
params
|
|
452
452
|
and isinstance((level := params.get("level")), int)
|
|
453
|
-
and 0 <= level <=
|
|
453
|
+
and 0 <= level <= 4
|
|
454
454
|
):
|
|
455
455
|
raise RivianBadRequestError(
|
|
456
|
-
"HVAC setting must include parameter `level` with a valid value between 0 and
|
|
456
|
+
"HVAC setting must include parameter `level` with a valid value between 0 and 4"
|
|
457
457
|
)
|
|
458
458
|
if command == VehicleCommand.CABIN_PRECONDITIONING_SET_TEMP:
|
|
459
459
|
if not (
|
|
@@ -484,7 +484,7 @@ class Rivian:
|
|
|
484
484
|
|
|
485
485
|
Certain commands may require additional details via the `params` mapping.
|
|
486
486
|
Some known examples include:
|
|
487
|
-
- `CABIN_HVAC_*`: params = {"level": 0..
|
|
487
|
+
- `CABIN_HVAC_*`: params = {"level": 0..4} where 0 is off, 1 is on, 2 is low/level_1, 3 is medium/level_2 and 4 is high/level_3
|
|
488
488
|
- `CABIN_PRECONDITIONING_SET_TEMP`: params = {"HVAC_set_temp": "deg_C"} where `deg_C` is a string value between 16 and 29 or 0/63.5 for LO/HI, respectively
|
|
489
489
|
- `CHARGING_LIMITS`: params = {"SOC_limit": 50..100}
|
|
490
490
|
"""
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|