Skip to content

Error during setup of component nicehash #13

Description

@cybermerlo

Version of the custom_component

0.1.1

Configuration

nicehash:
organization_id: # <org_id>
api_key: # <api_key_code>
api_secret: #<api_secret_key_code>
currency: EUR # (default = USD)
balances: true # (default = false) -
rigs: true # (default = false) -
devices: true # (default = false) -
payouts: true # (default = false) -

Error during setup of component nicehash
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 255, in _async_setup_component
result = await task
File "/config/custom_components/nicehash/init.py", line 63, in async_setup
nicehash_config = config[DOMAIN]
KeyError: 'nicehash'

Describe the bug

After the installation via HACS, after the reboot i get the error above

Debug log

2021-09-06 16:27:45 ERROR (MainThread) [homeassistant.setup] Error during setup of component nicehash
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 255, in _async_setup_component
result = await task
File "/config/custom_components/nicehash/init.py", line 63, in async_setup
nicehash_config = config[DOMAIN]
KeyError: 'nicehash'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions