ha-nicehash icon indicating copy to clipboard operation
ha-nicehash copied to clipboard

Error during setup of component nicehash

Open cybermerlo opened this issue 3 years ago • 0 comments

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'

cybermerlo avatar Sep 06 '21 14:09 cybermerlo