Thanks for converting km to mi when Imperial is selected (I used to edit weather.py for this) You might also consider Pressure from hPa to in "measurement": round(weather.get('current', {}).get("pressure", 0) * 0.02953, 2),