vincentwolsink / home_assistant_enphase_envoy_installer

This is a HACS custom integration for Enphase Envoys with firmware version 7 and up.
Apache License 2.0
54 stars 10 forks source link

Config flow could not be loaded #100

Closed githubkab closed 8 months ago

githubkab commented 8 months ago

Describe the bug When adding integration following message appears: Config flow could not be loaded: {"message":"Invalid handler specified"}

Home Assistant

Additional context

![image](https://github.com/vincentwolsink/home_assistant_enphase_envoy_installer/assets/76258060/f4eb1d02-cf57-4f07-8d11-c25eb640efcd)
vincentwolsink commented 8 months ago

Do you maybe have a different Enphase plugin currently configured (HA built-in or other version from HACS)? Can you check the Home Assistant error logs for more context?

githubkab commented 8 months ago

Thanks for your reply. I did have another enphase plug-in (briancmpbll) installed shortly before installing this one, but I deleted it first via mobile UI. HACS custom_components folder is only showing your repo. See below homeassistant log:

2023-11-08 09:16:35.716 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-11-08 09:16:35.717 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration enphase_envoy which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-11-08 09:21:36.785 ERROR (MainThread) [frontend.js.latest.202306080] http://xxx.local:8123/config/integrations/dashboard:0:0 ResizeObserver loop completed with undelivered notifications.
2023-11-08 09:21:39.855 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration enphase_envoy: cannot import name 'ServiceResponse' from 'homeassistant.core' (/usr/src/homeassistant/homeassistant/core.py)

When I delete this repo the log narrows down to first line.

vincentwolsink commented 8 months ago

Ah. This integration provides a servicecall with data response. This was implemented in Home Assistant 2023.7. You are running an older version. Please upgrade if you want to use this integration.

I will update the requirements.

githubkab commented 8 months ago

Works!