Skip to content

Releases: zabuldon/teslajsonpy

v3.9.3

27 Aug 01:14

Choose a tag to compare

Fix

v3.9.2

27 Jul 06:09

Choose a tag to compare

Fix

v3.9.1

25 Jul 04:12

Choose a tag to compare

v3.9.1 (2023-07-25)

Build

  • build(deps): bump aiohttp from 3.8.3 to 3.8.5 (#415)

Bumps aiohttp from 3.8.3 to 3.8.5.


updated-dependencies:

  • dependency-name: aiohttp
    dependency-type: direct:production
    ...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (5300af9)

  • build(deps): bump aiohttp from 3.8.3 to 3.8.5 in /docs (#414)

Bumps aiohttp from 3.8.3 to 3.8.5.


updated-dependencies:

  • dependency-name: aiohttp
    dependency-type: direct:production
    ...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (4aeb35a)

  • build(deps): bump pygments from 2.13.0 to 2.15.0 (#413)

Bumps pygments from 2.13.0 to 2.15.0.


updated-dependencies:

  • dependency-name: pygments
    dependency-type: direct:production
    ...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (d86130d)

  • build(deps): bump pygments from 2.13.0 to 2.15.0 in /docs (#412)

Bumps pygments from 2.13.0 to 2.15.0.


updated-dependencies:

  • dependency-name: pygments
    dependency-type: direct:production
    ...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (132b032)

Fix

  • fix: missing defaults in energysite (#417)

  • Fix missing defaults in energysite

fixes

2023-07-24 12:56:40.749 ERROR (MainThread) [homeassistant.components.number] Error while setting up tesla_custom platform for number
Traceback (most recent call last):
  File &#34;/usr/src/homeassistant/homeassistant/helpers/entity_platform.py&#34;, line 370, in _async_setup_platform
    await asyncio.gather(*pending)
  File &#34;/usr/src/homeassistant/homeassistant/helpers/entity_platform.py&#34;, line 510, in async_add_entities
    await asyncio.gather(*tasks)
  File &#34;/usr/src/homeassistant/homeassistant/helpers/entity_platform.py&#34;, line 670, in _async_add_entity
    original_icon=entity.icon,
                  ^^^^^^^^^^^
  File &#34;/config/custom_components/tesla_custom/number.py&#34;, line 142, in icon
    return icon_for_battery_level(battery_level=self.native_value)
                                                ^^^^^^^^^^^^^^^^^
  File &#34;/config/custom_components/tesla_custom/number.py&#34;, line 122, in native_value
    return self._energysite.backup_reserve_percent
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File &#34;/usr/local/lib/python3.11/site-packages/teslajsonpy/energy.py&#34;, line 137, in backup_reserve_percent
    return self._battery_data.get(&#34;backup&#34;).get(&#34;backup_reserve_percent&#34;)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: NoneType object has no attribute get```

* fix: empty ([`47b0dc4`](https://github.com/zabuldon/teslajsonpy/commit/47b0dc45c1ec30eda9a1797e657903931095ec32))

* fix: Avoid retries when car is unavailable with wake_if_asleep=False (#416)

Curerntly we would retry on 408s even if wake_if_asleep was False which
slowed down startup a lot for cars we did not wake ([`60ede4e`](https://github.com/zabuldon/teslajsonpy/commit/60ede4eec0d9440ed17e8e30f8d707795f2d5cac))

## Performance

* perf(httpx): avoid bytes to text conversion overhead

orjson can decode bytes directly without the need to convert
it to text first ([`ed3ebe1`](https://github.com/zabuldon/teslajsonpy/commit/ed3ebe1c994d8289cfbefada964be0f1d7877345))

## Unknown

* Merge pull request #418 from zabuldon/dev

chore: release 2023-07-24 ([`2dc54e9`](https://github.com/zabuldon/teslajsonpy/commit/2dc54e9f870749bd9e79687e33270a04cb6e7293))

v3.9.0

12 Jun 02:53

Choose a tag to compare

Feature

  • Add new heated steering wheel controls (#408) (a8ec439)

v3.8.1

25 Apr 05:23

Choose a tag to compare

Fix

v3.8.0

26 Mar 03:47

Choose a tag to compare

Feature

  • Add energy_site_ids and vins to update to limit updating to specific devices (#402) (e97ccaf)

v3.7.5

21 Mar 23:30

Choose a tag to compare

Fix

v3.7.4

05 Mar 07:23

Choose a tag to compare

Fix

  • Fix processing or httpx response for orjson (e34126f)

v3.7.3

05 Mar 06:16

Choose a tag to compare

Fix

Documentation

v3.7.2

12 Jan 19:12

Choose a tag to compare

Fix

  • Replace charge_amps with charge_current_request in set_charging_amps (#392) (316b9e6)