|
发表于 2018-3-27 12:22:23
|
显示全部楼层
SENSOR_TYPES = {
'pm25': ('pm25', 'μg/m³', 'blur'),
'hcho': ('hcho', 'mg/m³', 'biohazard'),
'temperature': ('temperature', '℃', 'thermometer'),
'humidity': ('humidity', '%', 'water-percent')
}
摄式度那个估计是写成全角了,要改一下,不然引用到其它的位置会报错的。 |
|