Teslajsonpy

Latest version: v3.10.3

Safety actively analyzes 629639 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 18

3.2.0

Feature

* feat: Add usable_battery_level method in TeslaCar 361 ([`abf0d08`](https://github.com/zabuldon/teslajsonpy/commit/abf0d085ac1b6b26b85f081b838dc72abfe616b2))

Unknown

* Merge pull request 362 from zabuldon/dev

feat: Add usable_battery_level method in TeslaCar 361 ([`6e72cd5`](https://github.com/zabuldon/teslajsonpy/commit/6e72cd5637467dae51a99f5d7094dfd82fff8eb1))

3.1.0

Build

* build: update deps ([`fc11ec1`](https://github.com/zabuldon/teslajsonpy/commit/fc11ec142b53f5c361471d117ef541ff792be994))

Ci

* ci: add lint pr action ([`b35cd93`](https://github.com/zabuldon/teslajsonpy/commit/b35cd936b6e5060aa9b05bb53eb7970cfed08f19))

Feature

* feat: Add window control and binary sensor (357)

* add window control

* add tests and update authors

* tweaks after testing

* missing s in function names

* fix boolean and lat lon parameters

* window open to window close ([`29fabf7`](https://github.com/zabuldon/teslajsonpy/commit/29fabf726bc589dacf2c3fc6cd8432a776eaf6d9))

* feat: add tpms, door and window properties ([`e66ff45`](https://github.com/zabuldon/teslajsonpy/commit/e66ff45d817a1b2db705b3e00a5515e6ea46f733))

Fix

* fix: check energysite_id in _grid_status_unknown

May resolve https://github.com/alandtse/tesla/issues/290 ([`d828ab4`](https://github.com/zabuldon/teslajsonpy/commit/d828ab4978e645094af9b595b99af4e20ce01ce1))

Unknown

* Merge pull request 359 from zabuldon/dev

2022-11-01 ([`3e14ceb`](https://github.com/zabuldon/teslajsonpy/commit/3e14ceba85ace4f1ebd2e2dd6d144b9d2fda0f0a))

* Merge pull request 356 from shred86/add-tpms-doors-windows

feat: add tpms, door and window properties ([`3adef73`](https://github.com/zabuldon/teslajsonpy/commit/3adef7345e0dd781c4d046466d949add8ffaf2e0))

* Merge pull request 355 from alandtse/dev

fix: check energysite_id in _grid_status_unknown ([`e040387`](https://github.com/zabuldon/teslajsonpy/commit/e040387cc7258a78af8fe61184d15e4f6a1814f2))

3.0.0

Breaking

* feat!: add support for solar systems and powerwall (341)

- New module `car.py` that contains a `TeslaCar` class.
- New module `energy.py` that contains energy site classes.
- New method `Controller.generate_car_objects` that generates `TeslaCar` objects and stores them into `self.cars` by vin.
- New method `Controller.generate_energysite_objects` that generates `SolarSite`, `PowerwallSite` or `SolarPowerwallSite` objects and stores them in the `self.energysites` dictionary by `energysite_id`.
- Modified `Controller.update` to now just send a single request to the `PRODUCT_LIST` endpoint (instead of both `PRODUCT_LIST` and `VEHICLE_LIST` to get all products on a Tesla account. From there, create a list of cars `self._vehicle_list` and energy sites `self._energysite_list`.
- Storing JSON responses as-is into their own dictionary by VIN for cars and energysite_id for energysites. These are then passed to `TeslaCar` and `EnergySite` when instantiated.
- Added `include_vehicles` and `include_energysites` arguments to `Controller.connect` which default to True. This provides the option to completely ignore vehicles or energysites.
- Removed `Controller.command`, `Controller.get` and `Controller.post` methods. Only `Controller._wake_up` was using `post` which now uses `Controller.api`.
- Removed all Home Assistant specific modules.
- Removed some unused code specific to energy sites.
- Changes to some naming to try to better align with what the Tesla API uses.

closes 348
closes 334
closes 24

BREAKING CHANGE: HomeAssistant specific code has been moved out. The API is now just a communication layer

Co-authored-by: Alan D. Tse <alandtsegmail.com> ([`5827dc9`](https://github.com/zabuldon/teslajsonpy/commit/5827dc9bda57e47dc0dafa674aeca2551582f43c))

Unknown

* Merge pull request 353 from zabuldon/dev

feat!: add support for solar systems and powerwall (341) ([`085a6e1`](https://github.com/zabuldon/teslajsonpy/commit/085a6e12e61eee1650073347e7357d8147c33085))

2.4.5

Ci

* ci: fix name for build_docs ([`f19bc40`](https://github.com/zabuldon/teslajsonpy/commit/f19bc40841aefd8ca6a0f7894b5cd09047ee7aa1))

Fix

* fix: fix key_error in version 2022.36 (351)

* Add fix for api change in version 2022.36 (missing charge_to_max_range)

Version 2022.36 seems to not include charge_to_max_range.

This uses charge_limit_soc[_max] to determine it if charge_to_max_range is not available ([`4deda7f`](https://github.com/zabuldon/teslajsonpy/commit/4deda7fcd282c9b8d3cfbfc5fcbe145f5e261947))

Unknown

* Merge pull request 352 from zabuldon/dev

2022-10-08 ([`07135a2`](https://github.com/zabuldon/teslajsonpy/commit/07135a2a625bde477ec0e1e4a6462e9c36f8e204))

2.4.4

Ci

* ci: seperate doc building ([`8fb1bef`](https://github.com/zabuldon/teslajsonpy/commit/8fb1bef175ab39dbfd483aae68c5e2ad88710f61))

Fix

* fix: handle missing grid_status key(346) ([`8c8f727`](https://github.com/zabuldon/teslajsonpy/commit/8c8f72728efedb29f027351caf407b1e73e914f0))

Unknown

* Merge pull request 347 from zabuldon/dev

2022-08-29 ([`22eb604`](https://github.com/zabuldon/teslajsonpy/commit/22eb604f9cea14406328f97c3619c5fa7bdd2483))

* Merge pull request 345 from alandtse/ci_docs

ci: seperate doc building ([`129f78b`](https://github.com/zabuldon/teslajsonpy/commit/129f78b74119ba13068e111ab2aab69e304bbf30))

2.4.3

Fix

* fix: Fix grid status and load sensor issues (343)

closes https://github.com/alandtse/tesla/issues/254 ([`d815446`](https://github.com/zabuldon/teslajsonpy/commit/d815446aaba5b17363ed6ca60c07243e027d564b))

Unknown

* Merge pull request 344 from zabuldon/dev

2022-08-26 ([`bbcd735`](https://github.com/zabuldon/teslajsonpy/commit/bbcd735ed19c01c1f02e4526bb19974e96315b8a))

* Change to get method ([`0c2bca6`](https://github.com/zabuldon/teslajsonpy/commit/0c2bca6d81eada926b175990903424d9e85b1239))

* Fix grid status and check for load sensors ([`1707b4e`](https://github.com/zabuldon/teslajsonpy/commit/1707b4eb450283770cb64a74b3887942e4a1d3c1))

Page 4 of 18

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.