RomRider / ha_nicehash

💵 Custom NiceHash integration for Home-Assistant
MIT License
36 stars 13 forks source link

Readme Improvement: Improve instructions on enabling integration in Home Assistant #17

Closed Aidan-Chey closed 3 years ago

Aidan-Chey commented 3 years ago

The instructions for how to enable the integration of this custom_component to Home Assistant either no longer work or I am not able to follow it (too vague).

Admittedly I'm very new in the Home Assistant space. I have installed home assistant OS on a Pi 4. I've installed HACS and the custom integration for this custom component. image

I've verified the custom_component files are in the correct place. image

Based on the description I should be able to go to "configuration -> integrations" and add the integration there. That should give me a card that I can press configure for and add the details the picture shows. However, I don't seem to be able to find the integration listed under "add integrations". image

And yes, I have restarted the server at "configuration -> server controls -> server management".

Previous to this, I tried using https://github.com/brianberg/ha-nicehash but it was missing the ability to start/stop rigs, which I see this seems to have. So i attempted to integrate this one in a similar manor by directly altering the configuration.yaml like so, but it doesn't seem to have helped.

# https://github.com/RomRider/ha_nicehash
nicehash:
    name: 'The name'
    key: !secret niceHash_key
    secret: !secret niceHash_secret
    org_id: 'The org ID'
    fiat: 'NZD'

Am I just missing something super obvious here? Maybe the previous install of the brianberg version is interfering?

Aidan-Chey commented 3 years ago

K so... Powered on the Pi this morning and looked at the integrations and the nice hash integration was listed. Yeah, I'm not sure whats going on there.

My advice for anyone else experiencing this is to properly shutdown Home Assistant (configuration -> server controls) and power off device. Perhaps this helps trigger Home Assistant in recognising it needs to refresh the list of integrations.