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

After updating: Platform error weather.pirateweather - Integration 'pirateweather' not found. #80

Closed
cslink23 opened this issue Jan 25, 2023 · 11 comments

Comments

@cslink23
Copy link

When I check my HA configuration, I get:
Platform error weather.pirateweather - Integration 'pirateweather' not found.

Running Home Assistant on Windows (portable). PirateWeather has been working for 2 years.
Updated it today and received an error that module pyowm wasn't found.
After reading some googled-notes, I downloaded all files from the github and copied them into my pirateweather folder in custom_components.
I've commented out and back in my pirateweather configuration.yaml section:

weather:
  - platform: pirateweather
    api_key: <key_here>
    # Additional optional values:
    latitude: 35.914150
    longitude: -84.101690
    mode: "daily"   
    name: Weather

Not sure what else to try to get this working again.

@alexander0042
Copy link
Collaborator

Hi,

Thanks for opening this issue, and apologies for the slow reply here. I thought I'd caught all the "pyowm" references in the code; however, one made it through! I've corrected this, and it'll be addressed in the next version later today.

@cslink23
Copy link
Author

Can you kindly provide high level instructions for updating this? Should I just delete the pirateweather folder and recreate it from the new version files? And, while I've got you, When I click integrations pirate weather it just takes me to the instructions page. Is ther anything else needed to configure?

@alexander0042
Copy link
Collaborator

Sure. Do you have HACS installed, since that's definitely the easiest option here

@cslink23
Copy link
Author

Yes. But, maybe since the old version is still installed, this shows the pirate weather box and when I click it I just get the git hub instructions.

@alexander0042
Copy link
Collaborator

Ok, that really helps. I would remove the manually copied files + anything in HACS, then try starting fresh tonight with the new version

@cslink23
Copy link
Author

Sorry, I'm not well versed. Does that mean to delete pirateweather from the custom_components folder? Or, is there something different for removing from HACS?

@cslink23
Copy link
Author

And, I really appreciate your help and also the whole weather app. I couldn't control my thermostats correctly without it (as I'm finding out!)_

@alexander0042
Copy link
Collaborator

Exactly! Just delete the entire folder from custom_components and it should be removed

@alexander0042
Copy link
Collaborator

And the new version is live! You should see the option to install via HACS shortly, which hopefully addresses the issue here

@cslink23
Copy link
Author

I removed the folder and the config in configuration.yaml. Restartd HA. When I go to UI Hacs, I still see pirate weather listed as if still installed - right along with the other interatoions. I thought I wouldn't see it and would have to search for it to install. What am I missing?

@alexander0042
Copy link
Collaborator

Since this has been inactive for a while, I'm going to close this issue to clean things up. Please let me know if you're still having problems here though, and feel free to re-open it!

@github-actions github-actions bot locked and limited conversation to collaborators Jul 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants