Fixed build error and added sensor class to __init__.py