looking for help
Short story: trying to modify an existing official integration to work with a newer sensor.
I could manage to update the python class that reads data from LD2410_BLE presence sensor to work with LD2450 that with newer firmwares also sends data over bluetooth.
However, it seems i can’t similarly update the 2410 integration to work with 2450: my issue is that after having put the code in the custom_components directory nothing shows up in HA (i’m probably missing something)
The code is fully available on git
i assume it will throw a lot of errors, but that’s what i was looking for but ATM i can’t even try the integration…
on the other side the python class is working when used stand alone (just tried on a raspberry). There’s a lot of work to do (i still have not tried to send config commands), but at least it receives data…
It seems i can’t have a custom integration without a version tag in the manifest
now it shows up but i have an exception i assume is not what it pretends to be:
Error occurred loading flow for integration ld2450_ble: cannot import name 'ConfigFlowResult' from 'homeassistant.config_entries' (/usr/src/homeassistant/homeassistant/config_entries.py)
this is a common import from HA core files, what else could trigger this exception?
@MassiPi Hi. I’m having the same issue with trying to override the google directory with a custom_integration. I am getting the same error as you said above after adding the version to the manifest.