AirGradient Forum

API Issues - temperatureUnit value is now returning null

I’m having issues with the API (specific to Home Assistant. When query the config API, the temperatureUnit value is null. This doesn’t appear to have always been the case. Did something change? Below is the output from config as well.

Thanks!

'{“country”:“US”,“pmStandard”:“us-aqi”,“ledBarMode”:“pm”,“abcDays”:8,“tvocLearningOffset”:12,“noxLearningOffset”:12,“mqttBrokerUrl”:"",“temperatureUnit”:“f”,“configurationControl”:“cloud”,“postDataToAirGradient”:true,“ledBarBrightness”:10,“displayBrightness”:20,“offlineMode”:false,“model”:“I-9PSL”,“monitorDisplayCompensatedValues”:false,“disableCloudConnection”:false,“corrections”:{“atmp”:{“correctionAlgorithm”:“none”,“slr”:null},“rhum”:{“correctionAlgorithm”:“none”,“slr”:null}},“httpDomain”:"",“temperatureUnit”:null}