Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyError: 'client_prefix' #191

Closed
tjorim opened this issue Jun 17, 2023 · 2 comments
Closed

KeyError: 'client_prefix' #191

tjorim opened this issue Jun 17, 2023 · 2 comments

Comments

@tjorim
Copy link

tjorim commented Jun 17, 2023

Using version 3.4.0 the client prefix is not optional:

Logger: homeassistant.components.device_tracker
Source: custom_components/tplink_deco/device_tracker.py:70
Integration: Device Tracker (documentation, issues)
First occurred: 11:50:07 (1 occurrences)
Last logged: 11:50:07

Error while setting up tplink_deco platform for device_tracker
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 320, in _async_setup_platform
    await asyncio.shield(task)
  File "/config/custom_components/tplink_deco/device_tracker.py", line 70, in async_setup_entry
    client_prefix = entry.data[CONF_CLIENT_PREFIX]
                    ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
KeyError: 'client_prefix'
@Gferretta
Copy link

Hi
Idem with postfix :(
Any solution?
HA 2023.7.1

`Logger: homeassistant.components.device_tracker
Source: custom_components/tplink_deco/device_tracker.py:71
Integration: Rastreador de dispositivos (documentation, issues)
First occurred: 00:41:47 (1 occurrences)
Last logged: 00:41:47

Error while setting up tplink_deco platform for device_tracker
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 353, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/tplink_deco/device_tracker.py", line 71, in async_setup_entry
client_postfix = entry.data[CONF_CLIENT_POSTFIX]
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
KeyError: 'client_postfix'
`

@amosyuen
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants