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

homeassistant.exceptions.PlatformNotReady #2

Open
coreyjansen opened this issue Feb 5, 2021 · 3 comments
Open

homeassistant.exceptions.PlatformNotReady #2

coreyjansen opened this issue Feb 5, 2021 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@coreyjansen
Copy link

coreyjansen commented Feb 5, 2021

**Invalid config
The following integrations and platforms could not be set up:

nicehash
Please check your config and logs.**

Version of the custom_component

Configuration

Default Yaml with my API key...

Add your logs here.

Describe the bug

Does not work at all

Debug log

2021-02-05 16:23:05 DEBUG (MainThread) [custom_components.nicehash.coordinators] Finished fetching nicehash_mining_payouts_coordinator data in 8.149 seconds
2021-02-05 16:23:05 ERROR (MainThread) [custom_components.nicehash] Unable to get NiceHash mining payouts
2021-02-05 16:23:05 ERROR (MainThread) [homeassistant.setup] Error during setup of component nicehash
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/setup.py", line 213, in _async_setup_component
    result = await task
  File "/config/custom_components/nicehash/__init__.py", line 105, in async_setup
    raise PlatformNotReady
homeassistant.exceptions.PlatformNotReady

Add your logs here.

@brianberg
Copy link
Owner

Can you verify that organization_id, api_key, api_secret are correctly set in your configuration.yaml? I'm able to replicate this error if one of those is incorrect

@brianberg brianberg self-assigned this Mar 4, 2021
@brianberg brianberg added the bug Something isn't working label Mar 4, 2021
@davidnite
Copy link

I had the same issue occur and it was caused by putting single quotes around the org and api secrets.

@fufar
Copy link
Contributor

fufar commented Aug 12, 2021

Hi
I have same error after restarting HA in 50% of restarts

Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/setup.py", line 249, in _async_setup_component result = await task File "/config/custom_components/nicehash/__init__.py", line 93, in async_setup raise PlatformNotReady homeassistant.exceptions.PlatformNotReady: None

Unable to get NiceHash accounts

Error fetching nicehash_accounts_coordinator data:

HA core-2021.8.6

mankingkaew referenced this issue in mankingkaew/ha-nicehash Apr 12, 2022
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

4 participants