agittins / bermuda

Bermuda Bluetooth/BLE Triangulation / Trilateration for HomeAssistant
MIT License
464 stars 10 forks source link

"Invalid handler specified" error when installing through HACS #232

Closed Sappher closed 2 months ago

Sappher commented 2 months ago

Version of the custom_component

v0.6.7

Configuration

-

Describe the bug

Installed the repository through HACS and when I try to add the integration (after HA restart) I get an error:

Error occurred loading flow for integration bermuda: cannot import name 'EventStateChangedData' from 'homeassistant.core' (/usr/src/homeassistant/homeassistant/core.py)

Debug log


Logger: homeassistant.config_entries
Source: config_entries.py:2444
First occurred: 18:50:57 (21 occurrences)
Last logged: 19:02:29

Error occurred loading flow for integration bermuda: cannot import name 'EventStateChangedData' from 'homeassistant.core' (/usr/src/homeassistant/homeassistant/core.py)

HA version info: Core 2024.3.0 Frontend 20240306.0

agittins commented 2 months ago

I think this is due to the older version of HA that you are running, I think EventStateChangedData was added in April.

Are you able to update to the current release of HA?

Sappher commented 2 months ago

Thank you, I was suspecting that but couldn't find the information about EventStateChangedData, so didn't want to go through blindly updating my HA version. But yes, I can update of course, thank you! This issue can be set to solved (I'll let you decide on that so will leave it open :))

agittins commented 2 months ago

Great, if you run in to any troubles let me know, but that part at least should be solved with an update.