Olen / home-assistant-openplantbook

Integration to search and fetch data from Openplantbook.io
GNU General Public License v3.0
131 stars 5 forks source link

Error when setting up V1.2.0: Config flow could not be loaded #9

Closed Slalamander closed 10 months ago

Slalamander commented 1 year ago

When the integration version v1.2.0 is setup during startup, it runs into an error. When trying to reconfigure it, I get an error message saying: Config flow could not be loaded: {"message":"Invalid handler specified"}. This also happened after removing and redownloading the integration. However, when using V1.1.0, it does not.

My logs show the following message for the setup error: Setup failed for custom integration openplantbook: Unable to import component: cannot import name 'ServiceResponse' from 'homeassistant.core' (/usr/src/homeassistant/homeassistant/core.py)

Olen commented 1 year ago

What version of HA are you running? 1.2.0 requires 2023.7 or higher, I believe.

Slalamander commented 1 year ago

I was on 2023.6. Updating did indeed solve the issue!