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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: rivian-python-client
3
- Version: 1.0.0
3
+ Version: 1.0.1
4
4
  Summary: Rivian API Client (Unofficial)
5
5
  License: MIT
6
6
  Author: Brian Retterer
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "rivian-python-client"
3
- version = "1.0.0"
3
+ version = "1.0.1"
4
4
  description = "Rivian API Client (Unofficial)"
5
5
  readme = "README.md"
6
6
  authors = ["Brian Retterer <bretterer@gmail.com>"]
@@ -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 <= 3
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 3"
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..3} where 0 is off, 1 is low/on, 2 is medium and 3 is high
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
  """