* Better warning if unit of sensor is unsupported for its device class * Prettify the code
sensor/__init__.py