custom-components / ble_monitor

BLE monitor for passive BLE sensors
https://community.home-assistant.io/t/passive-ble-monitor-integration/
MIT License
1.92k stars 248 forks source link

[Bug]: Can't setup new BLE_MONITOR Errors before setup #1389

Closed korruptcow closed 1 month ago

korruptcow commented 1 month ago

What happened?

I had to update ble_monitor because HA was complaining so i used the latest release and when HA restarts i get this error. Setup failed for custom integration 'ble_monitor': Unable to import component: cannot import name 'UnitOfConductivity' from 'homeassistant.const' (/usr/src/homeassistant/homeassistant/const.py)

How to fix?

Sensor type

No response

Relevant log output

Setup failed for custom integration 'ble_monitor': Unable to import component: cannot import name 'UnitOfConductivity' from 'homeassistant.const' (/usr/src/homeassistant/homeassistant/const.py)
Ernst79 commented 1 month ago

Did you update home assistant as well?

korruptcow commented 1 month ago

That would be it. Sorry, I thought i did but i didn't. Updated to latest and its working again thanks!