RobertD502 / home-assistant-petkit

Home Assistant integration for PetKit devices
MIT License
184 stars 28 forks source link

Config flow could not be loaded: {"message":"Invalid handler specified" #71

Closed accountant73 closed 4 months ago

accountant73 commented 4 months ago

When trying to add Petkit in integrations I get this error, I have reinstallend and rebooted and cleared cache. Any ideas?

RobertD502 commented 4 months ago

Couple of questions:

  1. What version of Home Assistant are you running?
  2. How are you installing the PetKit integration (manually or via HACS)?

This more than likely is an issue specific to your Home Assistant setup.

accountant73 commented 4 months ago

Hi,

Im afraid so. I have installed it through HACS, and I am running Home Assistant installed through SNAP, which is core if I am correct.

Op di 28 mei 2024 17:40 schreef Dr. Drinovac @.***>:

Couple of questions:

  1. What version of Home Assistant are you running?
  2. How are you installing the PetKit integration (manually or via HACS)?

This more than likely is an issue specific to your Home Assistant setup.

— Reply to this email directly, view it on GitHub https://github.com/RobertD502/home-assistant-petkit/issues/71#issuecomment-2135568425, or unsubscribe https://github.com/notifications/unsubscribe-auth/BIXX2M3JYM43C4IEXFMMXWLZESQQDAVCNFSM6AAAAABIMJPSBKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZVGU3DQNBSGU . You are receiving this because you authored the thread.Message ID: @.***>

RobertD502 commented 4 months ago

I can't say I will be of much assistance. Are there any other messages in the logs? Also, what exact version of Home Assistant?

accountant73 commented 4 months ago

That's okay, last resort is going to be deleting Home assistant and reinstall through Docker.

Version:

From logs: Logger: homeassistant.config_entries Source: config_entries.py:2444 First occurred: 16:06:48 (2 occurrences) Last logged: 17:52:49

Error occurred loading flow for integration petkit: No module named 'petkitaio'

Op di 28 mei 2024 17:49 schreef Dr. Drinovac @.***>:

I can't say I will be of much assistance. Are there any other messages in the logs? Also, what exact version of Home Assistant?

— Reply to this email directly, view it on GitHub https://github.com/RobertD502/home-assistant-petkit/issues/71#issuecomment-2135586680, or unsubscribe https://github.com/notifications/unsubscribe-auth/BIXX2MY2EHDVBS3HFMDNHG3ZESRRVAVCNFSM6AAAAABIMJPSBKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZVGU4DMNRYGA . You are receiving this because you authored the thread.Message ID: @.***>

RobertD502 commented 4 months ago

I'm not sure how Home Assistant handles requirements when installed via SNAP, but it looks like it didn't install the requirement that is listed in the manifest of the integration (petkitaio). I'd highly recommend ditching the SNAP install and spinning HA up in a docker container instead. Even better, if you are running Proxmox, spin up the HA OS as its own VM so you can add the benefit of snapshots/full VM backups.

accountant73 commented 4 months ago

Guess it was inevitable haha! Thanks for checking for me!