Allow climate module to use either python2 or python3 level-to-number map.