Skip to content

Install Error - Won't Initialize with Automatic Detection #13

@tylas13

Description

@tylas13

After getting another lock-out due to the door panel needing to be opened x3 again I attempted reinstall, but integration would not initialize using the automatic detection feature in the Devices and Services section in Settings. Would get an access token error:

Logger: homeassistant.config_entries
Source: custom_components/span_panel/__init__.py:40 
Integration: Span Panel ([documentation](https://github.com/gdgib/span), [issues](https://github.com/gdgib/span/issues)) 
First occurred: 1:19:03 PM (1 occurrences) 
Last logged: 1:19:03 PM

Error setting up entry Span Panel nt-2142-c1aj0 for span_panel
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup
    result = await component.async_setup_entry(hass, self)
  File "/config/custom_components/span_panel/__init__.py", line 40, in async_setup_entry
    access_token=config[CONF_ACCESS_TOKEN],
KeyError: 'access_token'

If I choose a manual installation it installs flawlessly and begins logging data. However, the Devices and Services will still see the Span Panel to do a setup even though it is already configured.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions