fix for python3 update of DataNab sensor recognition