Skip to content

1.2.11 (skodaconnect 1.3.11): Fix setup of second car

Compare
Choose a tag to compare
@dvx76 dvx76 released this 16 May 18:08
· 9 commits to main since this release
dee8383

What's Changed

This release fixes an issue introduced by HA 2024.5.X affecting integrations configured with 2 cars or when switching/updating the polling configuration:

2024-05-16 19:49:38.064 ERROR (MainThread) [homeassistant.components.binary_sensor] Error while setting up skodaconnect platform for binary_sensor
Traceback (most recent call last):
  File "/home/fdevaux/dev/github/homeassistant-core/homeassistant/helpers/entity_platform.py", line 356, in _async_setup_platform
    await asyncio.shield(awaitable)
  File "/home/fdevaux/dev/github/homeassistant-core/config/custom_components/skodaconnect/binary_sensor.py", line 22, in async_setup_entry
    data = hass.data[DOMAIN][entry.entry_id][DATA]
           ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
KeyError: '033fa86b8a5ae13f4fc2bfdcf0f74415'

Kudos to @stickpin over at https://github.com/robinostlund/homeassistant-volkswagencarnet for not only fixing the issue but also bring it to our attention 💯 .

Full Changelog: 1.2.10...1.2.11