add support for sensors to library