iprak / yahoofinance

Home Assistant component which allows you to get stock updates from Yahoo finance.
MIT License
81 stars 11 forks source link

Installation error #68

Closed kitkat270 closed 2 years ago

kitkat270 commented 2 years ago

Log error after installing via HACS;

2022-01-08 16:04:13 ERROR (MainThread) [homeassistant.components.hassio] The system cannot restart because the configuration is not valid: Integration error: yahoofinance - Integration 'yahoofinance' not found.

Fully accept i might be doing something wrong, but can't see what?

Screenshot 2022-01-08 at 16 14 28

Configuration.yaml

yahoofinance:
  symbols:
    - HSBA.L
    - TEF.MC
  scan_interval:
    hours: 2
  show_trending_icon: true

Thanks.

iprak commented 2 years ago

Probably due to nested yahoofinance folder. I would have expected it to be directly under custom_components.

kitkat270 commented 2 years ago

Yeah, that was it thanks - manual install worked fine.

But HACS install does the nested directory thing and doesn't work.

iprak commented 2 years ago

I am not seeing this. I installed it in a clean Homeassistant instance on Raspberrypi and it correctly installed to yahoofinance folder. The download confirmation also mentioned the same. image

Sorry I don't know what happened in your case. If needed then you can open an issue on HACS.