Closed
Description
When using the UART sensor, you don't need the adafruit_bus_device library.
However, the following line in the library import what is required for the I2C version:
from adafruit_bus_device.i2c_device import I2CDevice
No big deal, and I have no clue how to do things better because all my idea seems to be worse that current situation (like putting the import on the I2C side or separating the two).
Also I don't have the I2C version to test, so I could not really test a change on that side.
But it could be an improvement for user of UART sensor.