Would you be interested in adding optional support to instantiate an async enabled ODB object with use of a bleak.backends.device.BLEDevice ?
I have a use-case (Home Assistant) where such initialization would useful. Could copy and modify selected files from this repo but would rather import it and use out of the box. (E.g. py-nissan-leaf-obd-ble has made a local variant)
If of interest I could make an attempt for a pull-request. Some prerequisites for such change would be:
- Fully backward compatible (no change to existing use)
- Fault handling for Python-version < 3.8 (where bleak was added)
- Extras option to install
pip install obd[bleak] (don't add footprint and dependencies unless wanted)
Would you be interested in adding optional support to instantiate an async enabled ODB object with use of a
bleak.backends.device.BLEDevice?I have a use-case (Home Assistant) where such initialization would useful. Could copy and modify selected files from this repo but would rather import it and use out of the box. (E.g. py-nissan-leaf-obd-ble has made a local variant)
If of interest I could make an attempt for a pull-request. Some prerequisites for such change would be:
pip install obd[bleak](don't add footprint and dependencies unless wanted)