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

Chargerid cannot be None (chargerless) #203

Closed
elden1337 opened this issue Feb 24, 2023 · 0 comments
Closed

Chargerid cannot be None (chargerless) #203

elden1337 opened this issue Feb 24, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@elden1337
Copy link
Owner

Tried it again, full installation this time, but left chargerid blank (since I don't want PeaqEv to control it). Then I got this error after installation of integration:

Felet härrör från en anpassad integration.

Logger: homeassistant.config_entries
Source: custom_components/peaqev/__init__.py:40
Integration: peaqev ev-charging (documentation, issues)
First occurred: 15:36:43 (1 occurrences)
Last logged: 15:36:43

Error setting up entry sensor.template_house_power_w for peaqev
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 382, in async_setup
    result = await component.async_setup_entry(hass, self)
  File "/config/custom_components/peaqev/__init__.py", line 40, in async_setup_entry
    options.charger.chargerid = conf.data["chargerid"]
KeyError: 'chargerid'

Originally posted by @nord- in #198 (comment)

@elden1337 elden1337 added bug Something isn't working v2.7.0b1 labels Feb 24, 2023
elden1337 pushed a commit that referenced this issue Feb 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant