Allow cm in precipitation units (#14568)

This commit is contained in:
epenet 2022-12-06 11:16:33 +01:00 committed by GitHub
parent 8ba46f7f57
commit 1a69503eab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ const OVERRIDE_NUMBER_UNITS = {
const OVERRIDE_SENSOR_UNITS = {
distance: ["cm", "ft", "in", "km", "m", "mi", "mm", "yd"],
gas: ["ft³", "m³"],
precipitation: ["in", "mm"],
precipitation: ["cm", "in", "mm"],
precipitation_intensity: ["in/d", "in/h", "mm/d", "mm/h"],
pressure: ["hPa", "Pa", "kPa", "bar", "cbar", "mbar", "mmHg", "inHg", "psi"],
speed: ["ft/s", "in/d", "in/h", "km/h", "kn", "m/s", "mm/d", "mm/h", "mph"],