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

Error during setup of component nicehash #13

Open
cybermerlo opened this issue Sep 6, 2021 · 0 comments
Open

Error during setup of component nicehash #13

cybermerlo opened this issue Sep 6, 2021 · 0 comments

Comments

@cybermerlo
Copy link

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'

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

1 participant